Added options to disable method and url not found on Rest Adapter

Added the options handleUrlNotFound and handleMethodNotFound on Rest Adapter
They are not the same. The first one uses `objects.options.errorHandler.disableStackTrace = true`, the removed one uses `process.env.NODE_ENV = 'production'`.

It would be better to extract the shared code into a helper method, so that it is more clear what is same and what is different. However, that's out of scope of this patch.