change to other print / escape function.
added missing }
Merge branches 'certificate' and 'master'
removed obsolte user_valid again:

in dovecot 2.2.x you can use:

    result_success = continue

instead of the used code parts in dovecot 2.0.x

  User_valid = yes
  pass = yes

so here we go with the standard ... and remove our patch again
Merge branch 'master' into validate_user