More detailed error reporting for type analyzer
Small cleanup
build fixed
Merge pull request #1379 from qreal/text-language-fixes

More meaningful error messages in type inferrer