Revert "Revert "update hooks to compile on commit""

The old file was `pre-commit.py` which ran lint. In order to compile, I need to also run `publish.py`

In order to update the hook without having everyone re-symlink, I just hackily turned `pre-commit.py` into a shell script that ran the old pylint code (`pre-commit-run.py`) and also runs `compile` which in turn runs `publish.py`.