AgaviException::render() should send shell exit code, closes #907
merge [3606/branches/0.11], refs #907