Makefile: don't optimize anything if RELEASE is unset
main: add --ai-vs-rand option
ai: improve board evaluation

Based on tscp's implementation
defconfig: lower memsize to 1000

Old value was way too high.