Heavy restructuring, work on attribute tab

Restructured the way data bout character choices and character values
are stored and requested.

Added attribute rules.

Added attribute tab and started working on logic in there.
Almost ready to be shown in editor.