Added compiled script cache
Fixing some memory leaks for fastCGI