Fix exception handling

Following my previous fix to throw BoutExceptions by value instead of 'throw new BoutException' (commit 39051b747ba1c19d822d834eb1c8c66235e74c37), we should catch by reference, i.e. 'catch BoutException &e' instead of 'catch BoutException *e'.