APIDump: Trigger the dump manually.

Fixes #715. The dump can be triggerred by issuing an "api" console command, or in the webadmin.
Ignoring all config and SQLite files in the output folder.