[WIP] Schedule editor angular prototype

The basic functionality of the schedule editor is converted to Angular in this PR.

It's still a WIP since I'm trying to figure out the Jasmine stuff for our CI server, and also looking at the full PR, there is a lot of stuff that has changed that should probably be updated (such as the dollar_j.js).
I would prefer to see some clear boundary between the function definitions and the initialization of the controller. Are there any best practices for this?
It not, I'd suggest at least some comment to make the boundary clear to see.