Basic support for the PIM API

This allows MIDlets to use the PIM API to list contacts.
Yeah, forgot to mention that this is from gaia, like async_storage.js. This is why I haven't modified it (the only thing I've added is the UID field).