Fixing composer.json syntax errors

This fixes syntax errors for composer.json files.

Apart from this changes, another thing that would need to fixed are the package names on `require` as they need to match the name defined in `name`.
Take `framework/Exception/composer.json` for example. The package name is defined as `horde/horde-exception` yet packages that depends on it requires it as `pear-pear.horde.org/Horde_Exception`.

I want to tackle this as well. But what should be the convention for the package names?

1. `horde/horde-exception`
2. or `horde/Horde_Exception`
3. or just `horde/Exception`