enhanced set_resolved_url() function, include bug fix.

enhanced set_resolved_url() function, can set mimetype, can set succeeded=False.
prevent auto-calling plugin.finish() by set flag, which should not be called when setResolvedUrl get called.

This should be what https://github.com/jbeluch/xbmcswift2/issues/54 wanted