defined specs, Template object cleaned
validating Template parameters
removed validation

I think that's not nice JavaScript style, if it fails, it fails and I
definitly wont test parameters every time I create an object.
renamed vars
some todos
rewrite of theme.js
improved urls

?page=i instead of /page/i
/posts/x instead of /post/x
window.open uses Ajax if possible
added caching to theme.js, improved reload indicator
Merge branch 'theme.js-rewrite'
cleaner code