Enhances setup script.

The script is re-written in Python, and can successfully handle a proper chunk
graph.  It also uses git to manage the dotfiles, allowing simple diffing and
reviewing.