Support for variant fields in the python bindings

Add support for getting a variant's value from the python bindings.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>