Add trycatch_module

This module provides an easy to use interface for catching hardware exceptions. An example use might be writing a test for an function that checks that an exception is raised when a function is called with invalid arguments.