TRQ-2639. Fix some more valgrind invalid reads and writes.

Change the node status information to be stored using vectors and not pointer vectors.
Also change the exiting jobs information to use a simple vector instead of the container object.
Fix a unit test that wasn't testing as much as it used to in process_alps_status.