Typechecking function improvements

Please give the test suite a run before you merge this in.  I haven't gotten the chance to do so.
Using === in is*** methods
Merge pull request #112 from yaworsw/patch-1

Typechecking function improvements