Added replacing escaped non-breaking space after WikiMedia parser call
Extracted string parsing to a function and added unit tests
Merge pull request #2493 from Wikia/CONN-131

Fixed encoding problems in user masthead