CORE: more alliance issues, allow main party to leave alliance and preve...

...nt sending alliance invite to party leader from non-leader