Fix for enum serialization when enums where anonymous innerclasses (implement specific logic in enum, e.g.: abstract logic)
Fixed GWT errors; by removing calls to isAnonymous innerclass, replaced by the check that if we can assign from Enum; but the class doesn't contain any Enums, we just get the Superclass.
Merge pull request #1292 from methius/bugfix-1283-json_anon_enum

Bugfix 1283 json anon enum