New features

added 3 new features:
 - blacklisting for SPs/IdPs
 - possibility to save custom metadata in SP/IdP tables
 - integration of aggregation for weeks/months/quarters/years

Also did some cleanup, here and there.