Adding composer support

Basic Composer JSON file. Would also need to be pushed to Packagist for full support. Also addressed #4 .