Integrate rails engine support to the bootstrap generator. Detect if
generator was run from a rails engine and if so extract the name and use
if to locate the proper javascript directory.
Merge pull request #239 from jmflannery/master

Rails engine integration