Correctly set the `main` property in bower.json.

Fixes #11.
Set the `repository` and remove the `main` in package.json.
Bump version to 0.3.1.