add fixes for PHP stricts
add a composer.json and git ignore
Merge pull request #3 from cftp/master

PHP Strict Fixes & Composer