Added composer file

As the pull request for flyboarder wasn't going anywhere I used his version as a template and improved upon it. I have included all depencies as stated by PEAR. Thank you.