indexer: PEP8/257 improvements in models

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: PEP8/257 improvements in models

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
editor: PEP8/257 improvements in models

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>