Added APC support for caching constants; heavily changed Inaba class; dev 0.3.2