Added cache decorator.

https://gist.github.com/przemekmazurek/5590467eaf5f4417b087
how about kwargs?