GoSam-2.0: a tool for automated one-loop calculations within the Standard Model and beyond