port to non-deprecated lazyflow API

unit tests pass
Merge pull request #241 from thorbenk/lazyflow_api_cleanup

port to non-deprecated lazyflow API