use common file to init app (for index.php and update.php)
github spout: declare user-agent and more error logging

The GitHub API requires a user agent. This November change broke the Gihut
spout.

See http://developer.github.com/v3/#user-agent-required
Merge branch 'github-user-agent-fix'