Merge pull request #8 from ext/master

RE ignore patterns and project-wide ignore
Add hooks
Check for correct method name in run_hook
Forgot to add argument to second hook version
Don't derefence (potential) symlink.

At nitroxy-web a symlink points to the real script so the migration would be created in the script folder rather than the symlink folder.