Added support for libraries.  Only Page,Application loads (only) xaml.  Every other xaml reference loads js module.
Changed unit tests to use amd loading.  Fixed Theme loading.
Fixed unit tests that used mock objects.