class. This method reads the optional traits parameter from app and component
config and instantiates the component subclass with those traits using
"new_with_traits" in MooseX::Traits from MooseX::Traits::Pluggable.
WWW: http://search.cpan.org/dist/CatalystX-Component-Traits/
PR: ports/137142
Submitted by: Bill Brinzer <bill.brinzer at gmail.com>