Add a convenience method

Hello dreid,

This patch adds a convenience method, `loads`, which takes a string and returns the parsed form. It's something that any user of the API will want, and it also provides a convenient launching point for the rest of the work.

cheers,
jml