FLUID-4907: Removed checks for empty objects

Removed the checks for empty objects. Also fixed the unit tests to all pass. Had to move the rootModel base grade from UIOptions to UIEnhancers, updated the dependencies for this.