Let ActiveRecord help us :smiley:

Closes #18
Link Daylabels in weeklytable to dayviews
Make Plugin compatible with both Redmine 1.4 and 2.
Merge pull request #20 from digitalnatives/update_plugin

Merge redmine2 branch into master