Fixes APC prefix, optimizes autoloader and RealURL statement