Add API to change text case

Add API to change text to lowercase, uppercase, title case and to
toggle text case. These were living in gedit for a long time but
they should be here to be easily shared in all users of gtksourceview.