Typo in importprivkey, missing self
Lack of self was a little more widespread
Merge pull request #152 from nelisky/master

self missing in a few commands