Use page ident hash instead of page number in url

Change legacy url redirect and url transformation code to use the new
url format <book-ident-hash>:<page-ident-hash>