Moses: move all table-based problems into own file

This completes all the remaining work for shuffling around the top-level moses main  code.  All table problems are now in their own directory.