Fixes problem with order of endpoint definitions in RESTful API (to ensure that a GET on /model/templates isn't interpreted as an attempt to GET a model with a UUID of "templates") and adds in error handling for when a model with the specified UUID cannot be found...