Composer compatibility improvements and docs updates

convert to use __constructor (requires PHP 5)
convert to use an array for config
update readme and usage comment