Add support for looking up methods

Closes danmcclain/docster#2
Merge pull request #4 from SaladFork/master

Add support for looking up methods