fix: created an assertion_adapter class for converting exceptions

This changes the adapter from being a global function to a class
that has a method for calling a function, catch all assertion
exceptions, and convert them to bandits assertion_exception.

Addresses Issue: #2