Fix a Javascript error on the revisions page

I probably introduced this bug during the Rugged re-writes.

The Javascript assumes dates are formatted as ISO8601, which it got in
the regular file listing (because the data passed through #to_json which
formats dates as ISO8601) but not in the revision list. (where the dates
were getting displayed with an implicit #to_s)

Adding a #iso8601 to the date in the revision view seems to resolve this
error.
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.
Rubocop cleanup in the tests
Rubocop cleanup in the gemspec
Rubocop style clean up in regular code
Add MIT license tag to the gemspec file
Merge pull request #89 from acant/feature/ui_test

Adding integration test for the UI
Merge pull request #90 from acant/refactor/rubocop

Rubocop refactoring + added license to gemspec