Check if trait was loaded
Removed static variable from autoload per qiangxue's suggestion
Merge pull request #195 from suralc/trait-autoload

Check if trait was loaded