Iterate over bower.main files instead of choosing the first one only

This is a really simple change, I modified the loop to use all main files (like in the case of bootstrap) of bower.json.