Initial attempt at app engine compatability.  Tests currently failing.