Issue #2375213: Add test coverage for traits.
Issue #2375213: Add basic trait support.
Issue #2375213: Use the symfony class map implementation.
Issue #2375213: Fix code style for Drupal standards.
Issue #2375213: Use token_name so that "T_TRAIT" can be safely used for PHP 5.3.
Merge pull request #1 from LionsAd/trait-support

Issue #2375213 by Fabianx: Implement trait support for PHP 5.4 and allow multiple namespaces