Allow applications downloaded from anywhere in macOS Sierra
Apple have removed this function on macOS Sierra, but you can re-enable it running this in terminal:
sudo spctl --master-disable 


Additionally, as Jack points out:

Granted this is a little overkill, but it does the job reliably. It can be re-enabled immediately after launching the application with
sudo spctl --master-enable