Apply existing changes from PR #20

https://github.com/PHPIDS/PHPIDS/pull/20
Add autoloader
Use autoloader
Fix CS.
Merge pull request #22 from ampt/issue-20

Additional changes for PR #20 - Coding standard: Adhere to PSR-1 and PSR-2