Comments and some refactoring

Added comments to functions and moved defineProperty to the utils
module.
Error message cleanup, store function working
Update and Destroy methods complete

This resolves #18 and #19
Update method works

Removed some whitespace and commented lines.
Implemented the Update method which resolves #20
Removed color setting from Controller

This should be handled by the UI not the controller.
Removed whitespace
Moved javascript to separate file.
New home for Schedule page javascript.
Moved change saving logic to calendar module.
Fixed a typo