Fixed issue #20 --- syntax hilighting at text files saving

Correct syntax highlighting was not correctly determined for all types of text files. Now it sets always correctly. Fixed issue https://github.com/Qucs/qucs/issues/20 --- syntax highlighting at text files saving. Changed textdoc.cpp and textdoc.h. Added new method refreshLanguage().