Added BeASubclassOf() matcher.

Added optional support for beAnInstanceOf().
Fixed waitUntil to work when actions are taken on the main thread.
Dead code elimination. Added fail() test.
Another fail() test.