Upgrade Zend Framework to 2.4.0-dev
Update Pi lib according to ZF upgrade