Add route setup tests
Refactor legacy redirect code and create helper functions
Redirect /contents/<book uuid>:<page num> to the module
Transform legacy module links within collections