add-gutter(): enabled appending to arbitrary grid lists, refactored for DRY, documented

The changes here mirror the changes in `add-grid()`, see
https://github.com/lolmaus/Singularity/commit/7ee7f5a39733a7c793087aa860666fe79f91e423