Added unit testing for php

Added in composer and modified the .gitignore and package.json files to
reflect it.