Pull out test for dumb terminal into ansi_colors.
Refactor version checks in santos_version_check.
Add local declarations to functions in .bash_functions