metomi/rose#316: initial cut-and-paste
metomi/rose#316: finish rough port
metomi/rose#316: tidy
metomi/rose#316: tidy
metomi/rose#316: migrate and fix macro tutorial
metomi/rose#316: fix/update
Merge pull request #335 from benfitzpatrick/316.migrate-api-adv-tut

#316 - migrate custom macro tutorial