php-shout: modernize: remove deprecated calls, add arginfo for reflection, fix build warnings