Add unit tests
Remove dummy model prototypes
Add packaged app feature detection to capabilities.js