Major update.

- Added option to dump to JSON format.
- Moved application initialization to separate file to keep the dump command
  clean.
- Using Symfony\DependencyInjection to initialize command via service config.
- Fixed bug when using a custom user/password/host/dbname from the cli didn't
  work.