Fixed a bug with running script when cloudfiles are not installed.
Fixed a view in export_database.js.

- The view in export_database.js for listing all source names didn't
  work as there were missing view _id.
Bugfixes in the export_database script.