Improve swirlytool packaging

This commit itself contains no immediate benefits, but will allow us ot
edit courses in the process of packaging them, such as for adding
metadata and other attributes.