Use lager:debug instead of io:format.

Using lager allows to easily switch out the logging level in the
application which uses gen_smtp as well as providing a much richer set
of debugging tools.