add function for interacting with server.
match file layout with Deathmax.
fix max bc generated for regular attack.
Merge branch 'Deathmax-pull-request' (early part)

Conflicts:
	extract.py
update info.json
pep8 compliance.
generalize function name.
change AI parsing to use DSL format.
change unit parsing to use DSL format.
better file handling.
Merge remote-tracking branch 'original/master' into pull-request