refactoring for a clean rake when warnings are on

I ran tests with warnings on for the first time. Ew! All sorts of method redefinitions all over the place.  Then I fixed that only to find a bug or two in method_missing handling, and a few tests that presumed too much.