Added module for handling Rails exceptions

To check whether an "Unexpected error encountered" screen is displayed.

*Idea: Maybe we could hook these calls into the pytest_selenium internals to log all the exceptions in some file?*