Added ignore section and missing main entries in bower.json.
Distribute only relevant files via bower. Closes #2726