Bug 1023662 - [User story] Show 5 day week view r=gaye

**WIP**, still going to clean up the code and try to use external templates for most of the elements.. I have a few more changes locally (trying to abstract it better so that we can use same logic for day view as well), but will probably take another full day to clean up the code..

I'll rebase this later and squash commits.
the thing is, we can never have it properly sorted (`closest` and `absoluteOffsetTop` are both methods from `dom`, so `dom` needs to come first), so I'd rather keep them grouped by similarity.

nowadays I don't care about the sorting of variables since I rarely have that many vars or update them afterwards.