[Server][FaceRest] Add two new functions:

- addHostgroupsMap
- getHostgroupName

But, I noticed to develop that unnecessary transaction occurs in this
process specially getHostgroupName() function...
So, when DBClientHatohol retrieve triggers, events and friends, the result
adds hostgroup name.