Improved documentation

Added DOCUMENTATION file, improved info in header files and fixed a
minor issue with automatic assign of highlightedAttributedText