Use goog.asserts.assertInstanceof
Use goog.asserts.fail
Merge pull request #507 from twpayne/asserts

Clean up use of goog.asserts