Merge pull request #18 from noironetworks/sumit/pm

Fixing make_endpoint_group_dict to return to endpoint uuids not db refs
Fixes make_dict to return child contracts correctly.