Fix for parse_git_dirty, origin indicator, os indicator

fixed a bug with the parse_git_dirty() function for differing git versions
added indicator if we are ahead of origin
added os indicator