added the api for the group and ungrup the entity

Change-Id: I614d2f0653fe1ca6146eca28b5a093a07f508d7a
added new api to entitydb

Change-Id: I2de2ddb077100f21add580b099ed9011e4cc5af9
debug

Change-Id: I9c5d6cd7522db10f5f3f0d088dd394f36aef59a0