unload: remove S4 classes. Fixes #157
Remove only refs to s4 classes that don't have backrefs. Fixes #168
Add tests for s4 loading and unloading
Merge pull request #223 from wch/s4-removeclass

Careful removal of S4 class references.