[Swiftmailer] bumped allowed versions
Merge branch '2.2'

* 2.2:
  [Swiftmailer] bumped allowed versions
  remove validation related headers when needed
  use while loop for iterating
  [Filesystem] copy() is not working when open_basedir is set