add composer.json file

i found this nifty project http://getcomposer.org/ and that somebody already created composer.json file for your code. so i merged commits from his repo and made this pull request