Refactoring and coding improvement

- better compliance with PSR-0 and PSR-1 accepted guidelines.
- installation of [PDC](https://github.com/packfire/pdc)
- better testing through PHPUnit fixtures and abstract parser testing
- test fixes in commit 90c3e2b035c460ff329b28a5216a3aeb21a41c4a