Adjust to changes in Vala binding API

This adjusts to the changes from
https://bugzilla.gnome.org/show_bug.cgi?id=713240 and bumps the
required Vala version.

Based on patch by Ryan Lortie.

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