Fixed a bug with posts and callback functions

...where the library was crashing if you'd attach a callback function to
a post
Updated version number to 1.1.0