fixed path issues
added bower install to nom preinstall hook