Allow a no-modal mode for export.

We had problems exporting badges from the sugar stack 'browse' activity,
since it doesn't support pop-ups.

This allows the server to disabled the popup flow for badge exporting
with a config value.
Merge pull request #273 from fedora-infra/feature/no-modal-for-sugar-browse

Allow 'no modal' mode for badge exporting.