Fix name of method reseting attribute value

add test for it
Fix UnitToken API

Add setEdgeAttributes method, removing ugly Attributes** from
constructor.
Add Attributes::getSize() method.
Set army in upgrader basing on module's army.
Move enums to *.hpp files