Moving project to java 7.
Fixing an issue in ComponentManager when replacing an existing component of an entity. Fixes #32.