Add new config setting (to control whether the user needs to be set away before
we send the message or not).
Minor refactoring of code (checking of away/server away status etc)