Improved/fixed QML highlighting and snippets.

Big refactoring and fixes.