Changed permission script to be ran at appUp, before being visible to
the outside. Otherwise the first unpaused request gets an error.
Merge branch 'v1' into v2
Merge branch 'v2' into v3
Test fixes to tunnel through PHP port so that they can run against an
app version that's not visible yet
Fix to test case infra
Event test runner fix
PHP test case fix