Continued refactor: user, folder, item

- Added the "loadmodel" decorator for REST route handlers. This
  allows path parameters to be mapped as a resource ID to the
  actual model they represent in a consistent way.