Add memoized_method function
Py3 compat for memoized_method
Merge pull request #29 from wolever/memoized_method

Add memoized_method function