I found out the hard way that Posterous rate-limits API calls to 1/sec. This change (although a bit naive) ensures that we don't exceed that. It should be completely backwards compatible - there's a new parameter on the constructor that turns the functionality on.
I also changed the JSON parse error handling, as r.error never seems to be set, and as a result 403s from Posterous were being swallowed.
I haven't run the rest suite as it seems to still be using the old auth method (ie not supplying an auth token).
Removed errant comma that was causing the package.json to be invalid
Returning error from JSON parsing, rather than swallowing + returning…
… an empty object
Returning more info when JSON parse fails
Added ability to automatically manage the Posterous API rate-limit of…
… 1 request/sec. Removed superfluous console.log()s
Using a timestamp rather that a bool to more accurately track API rat…