Add testing gems.

* Add rspec
* Add capybara for integration testing.
* Add database_cleaner for proper setup/teardown.
* Add factory_girl.
Add /spec and spec_helper.rb configuration.
Add RSpec tests for LinearRegression model.