Basic support for the PIM API

This allows MIDlets to use the PIM API to list contacts.
This calls *toBlob* twice if there are contacts.