Added a target variable in NPC for serialisation
The pathfinding is no longer done in the constructor of trajectory/npc, now
a NPC does not move when he is created and you have to use NPC::setTarget to
set his target and compute his trajectory