Refactor legacy redirect code and create helper functions
Transform legacy module links within collections

Close Connexions/rhaptos.cnxmlutils#73
Merge pull request #246 from Connexions/transform-module-links

Transform module links