remove commented-out code
straighten out some ExtensionManager stuff

in headless there's no reason I can see to have the extra levels of
indirection, or for the special handling of Windows-style newlines
convert more of AbstractWorkspace to Scala
convert more of AbstractWorkspace to Scala
rename AbstractWorkspaceScala -> AbstractWorkspace

remaining Java stuff renamed to AbstractWorkspaceJ