Fixed compiler warnings.

The raw typing was causing compiler warnings.
updated tech demo app to use listener
Merge pull request #276 from basho/future-listeners

Fixed compiler warnings.