Shell functions to make MarkLogic 7's packaging REST API easier to use