move capybara, etc. to test group

Moving these to the `test` group prevents needing webkit dev libraries in deploy.