bower: ignore dot files, build and tests

Add 'ignore' directive to bower.json.

This ignores all dot files, test directories and build directories. Fixes #1105.
We don't have tests, node_modules, or bower_components directories in the repo. Are they needed, and if not, can you remove them?