Cache js libs

Cherrypy: Cache css, js and static images 6 hours.
Moved libs from including in default.js to base.html to prevent adding
the timestamp to the url and making it unable to cache the js files.

Close #15
Git ignore logfile

Issue #4