Updated the Odata CommandHelper.java to handle Entity and OEntity types while creating EntityResource.