Add factories for Module and ModuleType
Add support for module ordering

Module order is supported when returning modules in both serialize (for
the admin system) and spotlightify (for the frontend system).