Add Composer

Add the Composer configuration file that defines the project, and lists the package dependancies. Also add the Composer lock file to the gitignore file.