Update .bash_profile

Added title to terminal window
Escaped all non-printable characters to ensure proper line wrapping, etc...
Added functions for set_title and set_prompt to keep script clean
Cleaned up GIT status colouring, etc...
Ensured last directory is restored when relaunching terminal