Update idle handling and animation to use non-deprecated API
meldbuffer: Fix tag applying on paste (bgo#709580)

This is just a horrible hack around GtkTextBuffer's limited hooks for
dealing with clipboard stuff.
Import cleanup