re-added git submodules which were somehow clobbered; updated legalcode submodule to point to master branch