Adds a cache decorator.
Disables pylint warning.
Cache keys now include args and kwargs.
Moves cache and lock to decorator scope.
Merge pull request #10 from rszalski/bug_1962

Bug 1962 - Adds a caching decorator.