Cache increment and decrement implementation

The updated PR accoring to #1083 against the 1.3.0 branch.
This time, I haven't pushed the phalcon.c and phalcon.h files cause I noticed they're most likely impossible to merge. I'll send another PR against the docs once this got through the review.