Continuous deployment

Continuous deployment based on GitHub Webhooks added.
It is disabled by the default settings in the main settings file, so it should be totally compatible with current deployments.

This PR contains commits from the API branch too, sorry for that. Only the most recent 3 commits are relative to this PR.