367 integration testing

Sets up the ability to do integration testing, with a couple of example tests. Adds factories using factory_girl, tests using rspec, and capybara.