Improve Python syntax highlighting

- Highlighting for the function name and class name, also in the
  "from ... import ...".
- Highlighting for decorators.

Thanks to Patryk Zawadzki for the initial patch.

https://bugzilla.gnome.org/show_bug.cgi?id=617135