minor cleanup in LiteralParser
split LiteralAgentParser off from LiteralParser

keeping the import-world-only separate from the regular stuff.
especially since it's the import-world stuff that has all the
dependencies on the agent package, and we're trying to avoid engine
dependencies in compiler code.