`curry` can work on class methods by using the `__get__` descriptor protocol

Tests also include `@classmethod` and `@staticmethod`, which currently must come after `@curry`.

This addresses issue #219 by @alanhdu.