Coffee code and directory restructuring, improvements to modules

* nice module creation function to reduce boilerplate code
* created entrydisplay module
** moved coffee code from entry.html
** deduplication
* more subdirs for the static folder
** moved jquery to own folder
** gen_js for coffeescript
* better comments in Coffee code