install director
extract controllers
move render_template to new router
move render_frontpage to new router
move event page and json to new router
Merge branch 'master' into dev-director

Conflicts:
	lib/route.js
	package.json
Merge branch 'master' into dev-director

Conflicts:
	lib/route.js
fix route
fix error for non-existent .json
Merge branch 'dev-director'

introduce director for routing. fix #31

Conflicts:
	lib/route.js