More work on NWChem

Here are some commits that push the NWChem further along. There also some helper functions I want to move up to LogFile, because they will be useful in other parsers (see last two commits).