Improve REST API multithreading. Now respects CogServer 'shutdown' command.
Update whitespace
Merge pull request #1064 from cosmoharrigan/rest-api

Improve REST API multithreading. Now respects CogServer 'shutdown' command
Add a non-boosted version of the selection test
Improve comments and assert messages
Fix bug in eval-table (timestamp was counted as ignored variable)
fix selection scoring bug