Ensures Application expects exception handler

Application had not been updated to use exception handler instead of
error handler. This rectifies that oversight.
Fixes minor issue with json debug error handler

Specifically, when an argument is supplied but not specified by the
receiving method, it is not accessible through reflection. This no
longer causes an error.
Ensures that gateway query keys can be repeated
Fixes incorrectly typed method name in Model.php