importer: let the implementations build and parse the callback URL

Credits to Tamás Gulácsi for finding out about the state parameter.

Change-Id: I139eb4f74e607278c9aee93fd40c25ae081d47e3
importer: update flickr

Change-Id: I07f72d29acbc0226aeeedba0afe0bf7eeeac5ad3