Modernize CogServer::loadSCMModules API and other associated methods

Previously CogServer::loadSCMModules assumed that module_paths is a
NULL terminating array (come on we're in 2014!). This assumption was
not satified in LSExecutable.cc and OACExecutable.cc, which could
cause random crashes.