Add functionality for generating Mirakel configuration.  Fixes #117.