Added support for SDK 1.7.6.

New patchfile for devappserver2, mongodb stub is hard-wired.
Fixed long->int conversion in stub, pymongo's limit does not like long.