KAZOO-2617: Maintenance for modb rollup

This function exists in cb_accounts, and wht_util as well.

cb_accounts has unit tests with it. Perhaps you could move that version here, into a `kazoo_modb_util` module, and update those modules to call into the new module?