app/deploy: added commit paramenter.

related to #676.
app/deploy: save commit data.

related to #676.
api: getting deploy commit data.

related to #676.
misc/hooks: sending commit hash.

closes #676.