php-horde-Horde-Share: fix tests + cleanups for review