Fix issue 4
Fix issues 2 and 3

Because we were testing by type as well, pages needs to be an integer.
Merge branch 'issue2'
Allow keys to be associated with types in DB API

See issue #8.
General tidying/linting
Remove redundancy in page links generation
Add cache for Template object
Fix bug in conditionals not allowing periods

Objects with periods in their key name (e.g. posts.length) weren't being
caught
Switch to mustache.js

Use janl/mustache.js for templating instead of manually because it works
better
Convert forums view to mustache.js
Convert threads list view to mustache.js
Convert thread view to mustache.js
Remove unnecessary stuff from ramble.template.js
Merge branch 'templates'

Conflicts:
	js/ramble.template.js