WIP: convert to/from cdms2 variables

Fixes #133

@DamienIrving am I missing anything obvious here?