Check for `__git_ps1` func before calling.

Prompt should work now even if `git-prompt.sh` was not sourced.
Fix escaping of prompt char.

Fixes issue with token always being evaluated as literal '$', and not being
evaluated as a special var. Needs to be double backslashed... not sure why, as
the other vars dont need double escaping.
Remove unused bg color sequences.