Land pull request #23 ("Added support for additional API methods including disk imaging")

Incorporating changes from #24, any local tweaks.

/cc @displague