fix install generator to play nice with CoffeeScript application manifests

The install generator choked for me with a stack trace because I have an application.js.coffee manifest instead of application.js.  Also, I modified the generator to inject the require directives after "require jquery_ujs" (instead of "require_tree") because often times (as in my own present case) I'm require_tree'ing several directories and so the generator was injecting the require directives for backbone (and the dependencies) several times over (before each "require_tree").  It's a safe assumption that just about every rails app will have a "require jquery_ujs" line in the application js/coffee manifest, I think, but if you disagree you can ignore/revert that.