Prune last screens

Building on @akolomiychuk's PR https://github.com/mattheworiordan/capybara-screenshot/pull/99, I have added test coverage across all supported test frameworks and simplified the code generally.

@akolomiychuk do give me  your thoughts before I merge this in.