trying to make headless server use less resources

new headless server approuch where the headless server has no more need to
 play the whole game for himslef anymore. Ai is controlled by the headless 
master client now. Missing are endgame stats sending and join in game feature.
fixed wrong usage of getMasterserver_admin_faction()

There are still problems left to identify the place in the code where the new 
settings  containing the admin state are set on the client making him the new 
headlessAdmin.
Merge branch 'feature/ce-gui' of github-tomreyn-megaglest:MegaGlest/megaglest-source into feature/ce-gui
Merge branch 'feature/ce-gui' of github-tomreyn-megaglest:MegaGlest/megaglest-source into feature/ce-gui
Merge branch 'feature/ce-gui' of github-tomreyn-megaglest:MegaGlest/megaglest-source into feature/ce-gui
Merge branch 'feature/ce-gui' of github-tomreyn-megaglest:MegaGlest/megaglest-source into feature/ce-gui