var self defined in wrong scope
Merge pull request #10 from wilsonpage/diego-refactor

var self defined in wrong scope
Use same requirejs config for app and build
Pull out overlay from camera.js into its own instantiable module
Shared styles must be imported first so that they can be overriden by app styles
Move show hide logic out of JS into CSS, leaving JS to just declare state
Activity module is now instantiable to aid unit testing
Changing opacity looks glitchy
Big restructure to turn all modules into instantiable classes for simple testing
Rework tests to work with new class based architecture
Instantiate model inside camera.js
Unused vars
Remove unused properties and favour tighter scoped temporary variables when possible
Move 'mode' into state model
Docs
Docs and tidy
Wrote tests against camera controller
Remove stray console.log
Merge pull request #11 from wilsonpage/diego-refactor

Reshuffle of architecture to move away from singleton modules
Updated basic functional Python tests to work with Camera refactor.