external node script should refer to the console

This corrects the script calling its own hostname. It uses awk to grab
the server setting from console.conf, so it should exactly match the
behaviour of the console classifier.

It also throws a clean error when called improperly.

Fixes #TRAINVM-77