Overhaul backup and restore to use elasticsearch-py

Also adds support for specifying HTTP Basic auth details when backing up
and restoring.
Bump version: v0.4.0