Validate User.roles when saving
Helper method for creating TrexUploads from buffers
Allow creating quantums from "smart" datetimes