core: add GetPolicyUnitById query

Needed by RESTful API project.

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