Add autotests for EnginioModel::roleNames
Fix random crash in EnginioModel

We need to disconnect all Functors on exit, if they will contain
dangling pointers