Fix GWT support which was broken in 0.17. getInterfaces() is not supported in GWT. 

Remove getInterfaces() and getCanonicalName() references from gwt, and add invocations to the GWT test so this doens't recur.