Adapt to new zend api, add tests
Merge pull request #18 from lassodatasystems/adapt-to-new-zend-api

Adapt to new zend api, add tests