Separating tests into unit and integration

The Rakefile has also been update to run the test in separate tasks.
This will allow the unit tests to be executed first and only execute the
slower integration tests if those pass.
Fix a variable error in the Manager#update_all

When this was extracted from the server the manager variable was not
correctly changed on the #update_all.
Add UI testing to share management

Added the necessary gems and configuration to support Capybara and
Poltergeist for the browser testing.

Also extracted the #start_daemon function from the sync test because it
is used in the share_management test, and will be used in other UI
tests.
Add ids to the share and revision tables

I want to make the table search in the integrations move specific.
Add integration tests to the repository browser

I have updated the Capybara/Poltergeist wait defaults as suggested by
TravisCI:
http://docs.travis-ci.com/user/common-build-problems/#Capybara:-I'm-getting-errors-about-elements-not-being-found

I believe this covers all the features of the browser except for:
* viewing a non-text file
* uploading a new file
(and there are TODO makers for each of these features)

Finally, the file revision browsing tests are failing on TravisCI in a
way that I have not been able to debug, but they seem to be working
locally. For now I have added a skip when running on TravisCI to these
tests, and included some FIXME tags to re-visit these in the future.