python AI cleanup  patch by Cjkjvfnby
- Simplify comparisons and assignments. 
- Change comparison with None performed with equality operators to is.
- Remove redundant parentheses.
- Change docstring quotes.
- Fix typos.

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7196 dbd5520b-6a0a-0410-a553-f54834df5b05
Fixed --auto-advance-first-turn client command line flag.

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7197 dbd5520b-6a0a-0410-a553-f54834df5b05
Patch by Mitten.O fixing issue with planets in combat, which includes adding detection effects to moderate and high tech native specials.


git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7198 dbd5520b-6a0a-0410-a553-f54834df5b05
Added some conditions to specials to prevent monster spawns when no monsters is set, and somewhat when beginner max AI aggression is set.

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7199 dbd5520b-6a0a-0410-a553-f54834df5b05
Added getter for a PartType's mountable slot types.

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7200 dbd5520b-6a0a-0410-a553-f54834df5b05
-Added back Available / Unavailable toggle buttons on parts palette.
-Added Redundant toggle on parts palette, to turn on or off filtering superfluous parts.
-Grooming / removed slot type filter code from parts palette.

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7201 dbd5520b-6a0a-0410-a553-f54834df5b05
grooming

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7202 dbd5520b-6a0a-0410-a553-f54834df5b05
-Made turn number column in save dialog centre-aligned
-grooming

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7203 dbd5520b-6a0a-0410-a553-f54834df5b05
Copyediting patch by rah.

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7204 dbd5520b-6a0a-0410-a553-f54834df5b05
Patch by MatGB rebalancing ship hulls and parts.

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7205 dbd5520b-6a0a-0410-a553-f54834df5b05
Silenced some compiler warnings about un-/signed comparsions and unused variables.

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7206 dbd5520b-6a0a-0410-a553-f54834df5b05
Added some extra mouseReleased calls when the window focus changes, to avoid quirky dragging when clicking outside and back into the FreeOrion UI window.

git-svn-id: svn://svn.code.sf.net/p/freeorion/code/trunk@7207 dbd5520b-6a0a-0410-a553-f54834df5b05