Merge pull request #3337 from ADmad/3.0-traits

Move traits under respective namespaces.
Added missing MissingModelException class.
Updated docblock and changed return type for Controller::constructClasses()