some cleanups
cleaned up the callback signatures

as the user data is ignored by libpurple anyway
Merge branch 'master' of github.com:weltling/phurple

* 'master' of github.com:weltling/phurple:
  improvement suggested by Remi to honour php's --with-libdir