Switch Capybara check in after hook to check for class inclusion.

Using  initializes a new Capybara::Session, which, aside from being expensive,
can cause issues on non-Capybara tests.