bower.json main field

See #563 #585 #586

Adds `rake bower:spec` to automatically generate main and version fields
for bower.json.