Add support for custom JSON encoder. Fix RestAPI constructor. Fix urirequest() to correctly pass all parameter to urlrequest().
Update examples so that they actually work.
Merge pull request #1 from mgsander/master

Fix RestAPI constructor, fix urirequest, and add support for custom JSON encoder