Custom Images + Bug with Comment Citations

* Allow arbitrary images to be replaced with a custom url
* Tests for that
* Fix a bug which causes internal citations to commentary, e.g. "comment 32(a)(b)" to link to the wrong place (due to the interpretation structure tweaks)