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.