added missing license blocks
Merge branch '2.2'

* 2.2:
  added missing license blocks
  added missing license blocks
enhance upload error messages
[HttpFoundation] fixed CS for previous merge