Default to a warning type for messages from DiscouragedFunctionsSniff

Closes #48