Separate test and development gems

Primarily to avoid loading factory_girl in development mode because
it breaks the ability to setup a new database. However, this will
also speedup boot time in development mode by not loading gems which
are not needed.