refactor(bower): require bower instead of spawn
fix(bower): main path resolving bug fixes
string values (not array) and paths prefixed with ./ were not handled correctly