Allow "upgrades" from existing react apps

react_ujs and the autorequiring of components is new in master. The
install generator now accounts for some application.js files already
having react installed.