core: dao guid optimizations

usage of getGuid instead of manipulating a string in
cluster policy and policy unit DAOs.

Change-Id: Ib869b2aeabf934913375642a183fb3af64342f9b
Signed-off-by: Gilad Chaplik <gchaplik@redhat.com>