MDL-34311 formslib: warn when no param type set

Params without a type set will not be getting cleaned, so if developers
really do not want cleaning, they should set it explicitly.
MDL-34311 course: prevent course edit form warnings

There is a placeholder element.