Fix #744, app_engine directory detection

The goapp command should always be ran using the goapp wrapper script in sdk root.
Starting goapp directly from $SDK/goroot/bin/ often results in failure, because
global GOROOT might not be properly set for the app_engine.
Merge pull request #782 from Paulius-Maruska/app_engine_detection

Fix #744, app_engine directory detection