rework usage of 'SUDO' in setup_meter.sh to be more bulletproof

Removes individual SUDO calls, replace by respawning the script as sudo
-E. This makes things like inheriting environment variables work in a
predictable fashion.
Revise error handling to point users in the right direction.

Only check for privileges after ensuring that we support the platform.