Move gas string computation into core logic code

This is now a helper called from the Gtk UI code (and will soon be used by
the Qt UI code).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Show cylinder and gas used in the Qt dive list

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>