make day blocks nicer

change layout to look better, make them collapsible but open the first 2 days
remove jshint reserved words

i made a little research.
there words are not reserved in javascript but in _java_ which sometimes
causes trouble if parse with rhino.
this really is of no concern for us
remove dead code
Merge pull request #339 from exi/cleanup

Cleanup
Merge pull request #338 from exi/PTC-154

make day blocks look nicer
Merge pull request #340 from exi/timehelperFixes

fix timehelper dateToJsDate function because js months start with month ...
Remove debug println and unnecessary line break
Merge pull request #342 from voidus/removeDebug

Remove debug println and unnecessary line break
Check for this._destroyed after all deferreds
use single quotes instead of double quotes
put import arguments on separate lines
use correct quotation marks
Encapsulate the temporary variables in a function instead of a method object.

With javascripts anonoymous functions and closures, we don't need method
objects. Instead, we can just declare the function and define it in an anonymous
function, that encapsulates the temporary variables.

This has the advantage that the code that uses the method is not aware of the
way it is built.
use a function instead of a method object for the timeToWorkRenderer
Move helper creation inside _renderTodayMarker
Merge pull request #336 from voidus/noGreenLineOnWeekends

Top graph in statistics
Always read the database file in the project migration
Remove the contact association from projects

The contracts have been removed a while ago, which caused many project
operations to fail.
Merge pull request #345 from voidus/fixProjects

Fix project creation
Remove useless parentheses