Add support for Bower, RequireJS

This pull request adds a ``bower.json``, and a wrapper so that the library can be loaded with RequireJS. It can still be loaded using a vanilla script tag. I've also removed examples from the main repository; in a forthcoming pull request,  I'll have done the exact opposite to the ``gh-pages`` branch, as well as updated the paths to work with Bower installation.