Making ConfigStaticManifest::parseStatic error more meaningful

The error thrown by `parseStatic` when there's an unexpected token is now more meaningful as it states the type of token that was encountered as well as the class that it was found in.
Merge pull request #2665 from dhensby/patch-1

Making ConfigStaticManifest::parseStatic error more meaningful