Improve __repr__
PygmentSH/GenericCodeEdit: try to set lexer from mimetype first