[dm-cli] Fixed dm-cli to work with dm 0.9.x
[dm-cli] Fixed dm-cli to work with dm 0.9.x

I have no idea if further fixes are needed, but it will at least start
and connect to a database.

datamapper/dm-cli