Fixed composer.json being overwritten when invalid and user answers 'n'
Merge pull request #4 from burriko/master

Fixes issue #1 'composer.json is overwritten when it is not valid'
Fix warning error: Creating default object from empty value
Merge pull request #5 from kdelchev/master

Fixes warning for creating default object from empty value
Added 'profile' and 'working-dir' options.
--yes (-y) option that allows automatic installation of composer.phar if it is missing. (Closes #8)
Year increment
Usage instructions for --yes (#8)