getBowerConfig was making some bad assumptions about bower.json and main files

* bower.json doesn't always exist, but .bower.json does.  They're effectively the same, but bower.json has some metadata that the other does not.
* mainfiles can also include other asset files, like css
* added a warn for when none of the mainfiles are js, or multiple js mainfiles are found.