Makes autoloading from frappe optional

Converts user_model.coffee to not pass back a function in exports.