Adds to nextString() method to ConfigStaticManifest

This is used to get the classname out of the tokens, rather than assuming that
the class name is a single T_STRING.
Merge pull request #3103 from simonwelsh/configstatic_nextstring

Adds to nextString() method to ConfigStaticManifest