Re-enable isA and isNotA in the GWT version

Re-enable isA and isNotA in the GWT version, and move core logic to a Platform file.  Also test both paths.