Update dependencies
Convert to npm and CommonJS

Remove Bower and access to window for dependencies.
Lock down dependencies
Merge pull request #7 from tidepool-org/nico/workflow

Convert to npm and CommonJS