Making improvements to setup script for new machine.

Adding:
- Check to make sure only run as root.
- Linux-only method to make ssh auth only use public keys.
- Making script runnable or importable.