Rewrite iiifUri
Requires !1025 (merged) and !1028 (merged), closes #738 (closed), closes #716 (closed), refs requests#418, refs requests#430
Requires !1025 (merged) and !1028 (merged), closes #738 (closed), closes #716 (closed), refs requests#418, refs requests#430