RESTRUCT Use sel_test

To automatically wrap all properties in eunit tests inside the moka-app fixture
RESTRUCT attempt to clear up the mess
RESTRUCT comments and var names
RESTRUCT move complexity out of next_state_data
FUNCT add the edts project file
RESTRUCT Better code structure to support history tests