MAIN: Catch exceptions thrown by ConfigManager::save()

Coverity issue 1038240.
COMMON: Catch exceptions thrown by boost::posix_time::ptime

Coverity issue 1038239.
COMMON: Catch exceptions thrown by UString::iterator::operator--()

Coverity issue 1038238.
MAIN: Catch exceptions thrown by Common::FilePath::makeAbsolute()

Coverity issue 1038237.
COMMON: Do not call ReadStream::eos in SubReadStream::read

cf. ScummVM commit c6112f738312ff6243b3fca1373d4d44ef08ee32:

Instead I moved the call to ReadStream::eos into SubReadStream::eos.

fuzzie pointed out that in certain cases this resulted in a lot of eos calls
before. Those were rather needlessly, since checking the eos bit of the
decorated stream in read does not give any advantage over checking it when
the client code really wants to test the eos flag.
COMMON: Fix header flags reading

Coverity issues 1038268 and 1038266.
COMMON: Fix CTRL-K

Coverity issue 1038267.
COMMON: Fix possible usage of invalid DomainList iterator

Coverity issue 1038262.
COMMON: Fix possible usage of invalid LineList iterator

Coverity issue 1038261.
COMMON: Fix possible out of bound reads in the debug channel

Coverity issues 1038257 and 1038258.
COMMON: Initialize _logFileStartLine

Coverity issue 1038233.
COMMON: Initialize _size in the iterator'd constructor

Coverity issue 1038229.
COMMON: Fix DumpFile::err()

Coverity issue 1038195.
SOUND: Fix possible out of bound reads in decodeExpHuffman()

Coverity issue 1038255.
SOUND: Fix leak in decodeSuperFrame()

Coverity issue 1038247.
AURORA: Fix format string type mismatch

Coverity issue 1038252.
KOTOR: Fix usage of dynamic_cast<>()

dynamic_cast<>() to a pointer may return 0, which has
to be checked for.
dynamic_cast<>() to a reference may throw an exception instead.

Coverity issue 1038265.
NWN: Fix format string type mismatch

Coverity issue 1038251.
NWN: Fix a leak in loadEquippedItems()

Coverity issue 1038250.
NWN: Fix possible leak in mainMenuLoop()

Coverity issue 1038249.