Fixed code-breaking bugs for cfg.sh for all base functions (i.e not dispatcher functions)
Added test file for cfg function for all base functions (i.e not dispatcher functions)
* Created _ansi function library to set terminal properties like
cursor position and text color.
* Created _if function library, a set of simple if statements.
Added _if_array_contains, _if_is_integer, _if_is defined,
if_has_value