fix(entity) Fix NULL object as Commands

Remove Brain/HooksMocks and replace with simple HooksMock
Fix wrongly detaching of Commands in original Entity
before attaching it to the new Entity. Now the new Entity
receives the command and it gets detached from the old
one afterwards. This fixes Tests failing with NULL instead
of Command data. I wouldn't have noticed this without unit tests