Working with Cassandra Future

It is awkward in scala to work with ListenableFuture that is returned when you are using cassandra java driver to make asynchronous calls.

The gist below converts the ListenableFuture to scala Future that you can compose.