Upgrade Zend Framework to 2.4.0-dev
Update Pi lib according to ZF upgrade
Code cleaning
Merge pull request #1171 from taiwen/develop

Upgrade Zend Framework to 2.4.0-dev