#316 - migrate custom macro tutorial

This migrates (and fixes) the custom macro tutorial from <samp>rose-api.html</samp> into its own tutorial. @matthewrmshin, please review.