Updated project to latest "best practices".

* Modified directory structure.
* Enhanced source code documentation.
* Added integration with CI services.
* Improved Composer integration.
* Dropped PEAR support.

Signed-off-by: Florian Wolters <wolters.fl@gmail.com>