GeditDocument: simplify code of guess_language()

Remove the 'content_type' paramater, it is an attribute of 'doc'.
GeditDocument: #define for a string used at several places
GeditDocument: inline set_content_type()

Inline set_content_type() into gedit_document_set_content_type(), and
use only the latter.
GeditDocument: small clean-up