Added ignore section and missing main entries in bower.json.
Distribute only relevant files via bower. Closes #2726
Merge branch 'master' into gh-pages