Apply existing changes from PR #20

https://github.com/PHPIDS/PHPIDS/pull/20
Add autoloader
Use autoloader
Fix CS.