Fixing errors found while parsing some iOS address book exports

This includes the commit from pull #3, so feel free to ignore that one.

Changes include:

- base64 embedded photos
- social profile fields with "x-something" parameter names
- make sorting stable in the "enumerate attributes" spec so the `TEL` fields are always in the same order