Feature: More cartridge utils

This adds a helper function to set ENV variables. It also adds functions to generate random strings and pad strings, both of which were used in `generate_(username|password)`