General fixes, added ability to sleep.

Can sleep, if not under command of hive will sleep on its own.
Fixed small bug in movement.
Fixed small security flaw in tile::walkable
Added ability to read unit actions into GUI.
Fixed small init bug.