Adding support for bower and component

Also update the jasmine spec to use the bower dependencies defined in bower.json.

We may need to change the version defined in the dependencies.