IMPROVEMENT Adding autoload support for traits to manifest builder

Backward compatibility to PHP 5.3.x is given by checking T_TRAIT constant.