Added applyComponent method

This method adds a Component to an Entity iff the Entity did not yet have that
Component.