Error middleware

Added a middleware to add a method to Express.Response to send an error.
This handles MyKoopError types and everything else