allow for multiple callback and errbacks
added support for subclassing Session
Merge remote-tracking branch 'upstream/master'