[fix] Refactor, PSR formatting, zephir c-extension

- Move php source from lib to more common src
- Add build files which can be used with jenkins
- Run code through psr formatter
- Update gitignore
- Add zephir-based c-extension