added controller method for {entity}/{id}/edit. for now this functionality duplicates the getById functionality, but it now allows that method to change. relates to #30