Fixed: extractSelectedHtmlFrom range in various cases, involving list merging, block merging and boguses.
Tests: Improved various test cases.