Port media art storage functions from tracker

Port normalizeAndHash, stripFindNextBlock and stripInvalidEntities from
tracker to ensure that our media art matches tracker's extracted data.
Update album art tests