fixes scopes and search
use event notifications to store the last sync/publish dates

fallback to remote pulp api call if needed
simplify STI type handling for repositories sub classes