Add APC cache backend. Add unit tests