Added device javascript asset for clientside detection
added railties dependency
Added a rails engine to allow inclusion of bundled assets