replace sqlalchemy-utils aggregated values with own impl

also made artists.added into saved aggregated value.

also fixed some race conditions and stuff when adding albums and tracks