Include WordComponentParser.hh in WordParserImpl.hh

To avoid compilation error due to incomplete type.
Add locale to Environment

The locale is mainly used to define character type categories and
string-number conversion.
WIP Add AssignmentParserImpl template class

TODO: split addition of AssignmentParser from this commit