Replace old rendering system

Now we're using Twig for rendering the templates and also a better
caching system.
Cache models
Fix a typo
Urlencode URL hashes
Merge branch 'develop'

Conflicts:
	wiki/controllers/index/index.php
Put blog index generation in one function