Fix MimeQuality and qvalues for hashes
Fix issues in utils and add corresponding tests
Test api.jsm