Removes mongodb dependencies

Removes mongodb dependencies and removes factorygirl from tests.