Fix package.json dependencies.

Move error reporter from devDependencies to dependencies since it is used by the source code.