Add utility functions

- hijacked ggplot/utils/utils.py, it is a more obvious place for
  many small functions that are not specific to the ggplot object