Fixes #15. Added getComponents() method to Entity that returns an Array of components instead of passing it in as a parameter.