cleaner diff output
use colordiff if available
made function variables local
removed --version (because the function doesn't exist!)
re-ordered some parts of the script and added more comments
some regex niceness - everything fixed!
...that I can tell so far anyway :)

Signed-off-by: Steven Honeyman <stevenhoneyman@users.noreply.github.com>
Merge pull request #6 from stevenhoneyman/master

Fixed all issues I could find