Add const char* ctor for AmfString.
Factor out isEqual.