Bug 1023664 - Calendar modularization 2

(mainly because it will be easier to write macros later to convert to AMD, and because in the future we won't things to the `Calendar` namespace)