PBM related utility methods

This change adds following PBM related utility methods:
* Get all profiles
* Get profile ID by profile name
* Filter hubs by profile
* Convert datastores to hubs
* Filter datastores by hubs

Change-Id: I47524f28edfa4325340046cf266184771ea4e3dc