Fix #896 -- support hooks in templates.

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
document and add hacks to template_hooks

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Use setuptools entrypoints instead of scripts/nikola

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
add code example for wants_site_and_context=True

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
fix python 3

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
flake8

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Will diff -bw come out to play?

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1230 from getnikola/setuptools-entrypoints

Use setuptools entrypoints instead of scripts/nikola
Protocol relative YouTube and Vimeo
Document 108a286
Append media to RSS using enclosure callback to return tuples

For use with podcast plugin, appcasts, and the like. Maybe
galleries can use this too?
languages are important
Optional protocol relativity from abs_link
Merge branch 'master' into template-hooks

Conflicts:
	CHANGES.txt
merged master