Adding 'push' event to github hooks.
Merge branch 'master' of github.com:numenta/nupic.tools into hook-command
Merge branch 'master' of github.com:numenta/nupic.tools into hook-command
Github hook handler differentiates between events.

The github payloads for different events are sometimes ambigious. There is now easy field to look at to tell exactly what type of event is being pushed, so we need to add a bit of logic to peek inside the payload to figure out what type of event it is before handling it. This commit identifies a 'push' event properly.
Merge branch 'hook-command' of github.com:rhyolight/nupic.tools into hook-command
First pass at shell execution on hook.
Running push hook command on master push.

Checks that branch of event is master, then executes command defined in config for that repo.
Added github hook test
Merge pull request #28 from rhyolight/hook-command

Hook command