-------------------
- Added new InternalError class to represent non-doctor internal errors.
- Updated sphinx pin version to be minimum 1.5.4 and added new `env` kwarg
to make_field amd make_xref.
- Fixed bug where extra parameters passed on json requests would cause a `TypeError`
if the logic function used a decorator.
- Made sure to make decorators a set when applying them to a logic function
when creating routes. This is to prevent a decorator from wrapping a
function twice if it's defined at the logic level and handler level when
creating routes.