Composer dependency management

Added a composer.json file as discussed here - fixes #120
http://getcomposer.org/