formatter: fix order of output formats

Reported-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
formatter: output format TEST1.bfo move

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
formatter: test overlay package

Co-authored-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
utils: StringField will replace TextField

* Replaces the usage of TextField by StringField as it will be
  deprecated in wtforms 2.0

* Fixes the super call.

* Removes some trailing spaces (PEP8).
search: label with for attribute.

* Adds the for attribute on the labels of the advanced search.