Merge pull request #2 from rappazzo/master

Add STASH_REPO_NAME and STASH_IS_ADMIN to the hook environment
Issue 3: Simplify and fix permission checks

https://github.com/ngsru/atlassian-external-hooks/issues/3
Merge pull request #4 from charleso/bugfix/3-permission-checks

#3 Fix and simply permission checks
add .gitignore
refactoring
add security check on editing binary path
add doc link to README.md
fix utf-8 output of non-ascii symbols
Fix name of plugin and limit response to 65K

65K limit on hook response is probably a Stash bug, I'm not sure.
fix hook hangs at long outputs