Added a 'format' function to utils.tin.
Added a bunch of useful functions to utils.tin