Update custom vars plugin for Ansible 1.7+

With the introduction of Ansbile 1.7, our var plugin broke due to
incompatible changes upstream. Update the plugin so that we can make
use of the new Ansible releases.

!version-patch