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.

https://bugzilla.gnome.org/show_bug.cgi?id=703475
Update album art tests

https://bugzilla.gnome.org/show_bug.cgi?id=703475