Add Scalatra support for registering models