Moved datastream_purged and datastream_ingested hooks into the xacml_api and updated management of manageablebyuser, manageablebyrole relationships.