Pita/etherpad-lite — pull request #1057 by dmitryuv (2012-10-11 14:09:48+00:00)
Title: fix for error handling in the callback code

The callback code does not follow error handling guidelines, thus always
receiving NULL instead of results array.

Please review the error handling logic, I used analogy from other places and guess it should be handled this way here.