Porting GAE 1.8.0 SDK to AppScale.

DO NOT MERGE. Just for code reference.