Slight refactoring and made ErrorHandler a Martini handler itself. Closes #46.