Per issue #15, this change implements nanite search.

This patch also creates "clear", a free command that wipes a nanite's command queue without issuing a new command.

This patch also introduces euclidian distance, walk-closure, and other internal APIs that may be of interest to server developers.
Merge branch 'master' of github.com:drewcrawford/BandwidthWars
Map debug support
Merged with upstream