When there is no main field, assume the module's entry point is called moduleName.js
Get the paths to Bower components using the API instead of assuming it's always components/
Merge pull request #5 from 00Davo/handle-no-main-field

When there is no main field, assume module's entry point is called moduleName.js
minor code tweaks
support for components with no paths entry via @00Davo