Refactor git status script fir 256 colour support

Remove 16 colour specific codes and replace with 256 colour support.