Role manager stub updates

Moved some functions from rocon_app_platform to rocon_utilities to share.