Allow subclasses to add to component mappings; allows components to be instantiated elsewhere using platform appropriate methods.

Fix syntax for Java 7.
Merge pull request #39 from msavy/mini_fixes

Allow subclasses to add to component mappings; allows components to be i...