Options and help for the erlmqtt_pub example

Man, getopt does some annoying things.