Cleanup and apidocs
Rename _run_hook to run_script
Follow existing docstrings convention
Add hook related util functions
Use context to Jinja hook scripts
Fix docstrings
Preserve the script name

Copy the temporary file to the original `script_path` filename
Merge branch 'master' into jinja-hooks
Simplify implementation

Use the `suffix` argument to create a temporary file with the same
extension
Fix windows tests
Cleanup and back out failing test
Adjust ambiguous `hooks` references
Merge branch 'master' into jinja-hooks

Conflicts:
	cookiecutter/hooks.py
Merge pull request #288 from michaeljoseph/jinja-hooks

Inject context into hooks