Optimizes select statement for RealURL lookup
Fixes APC prefix and optimizes autoloader (PHP >= 5.3)
Merge pull request #15 from nsendetzky/master

Fixes APC prefix, optimizes autoloader and RealURL statement