[Post-Port Refactor] NO_CASTs to prevent using deprecated behavior
[Refactor] Clean up compiler warnings 4100 and 4189
[Refactor] Initial header cleanup
[Refactor] Explicit includes, move to cpp where possible

Forward declarations for pointers in a header is preferred, then include
the file in the cpp instead.  Also, explicitly include classes needed to
compile header, and do not rely on other includes.
[Refactor] Remove relative includes

Put ./src on the INCLUDEPATH so that anything can be referenced from the
src root.
[Refactor] Remove unnecessary undefs
[Refactor] Whitespace changes
[Refactor] Fix up all braceless Qt foreach blocks

It's dangerous enough doing braceless if/else/for/while ... Some of
these had nested if loops, and comments sandwiched in between, so I'm
concerned if they were even being parsed correctly.
[Refactor] More foreach brackets
[Refactor] Nifskope.pro C++11,  comments for other devs

I put recommended versions for MSVC / MinGW / GCC ... Added version
specific MSVC warnings to let dev know that the pro file does not
support 2008 or lower.
[Refactor] Whitespace / code style changes Initial

Used Uncrustify, and very carefully configured a set of changes.  It
affects whitespace only and thus can't break anything.
[Refactor] Remove extraneous semicolons

Code formatter exposed several unnecessary semicolons
[Refactor] Some manual cleanup, post-auto format

Redid some of the single line ifs that worked better before.  Got rid of
many single-line ifs.
[Refactor] Consistent if/else chains, no mixed braces
[Refactor] Reduce if/else nesting where possible

Also formatted empty constructor bodies to be on new lines.
[Refactor] For/foreach no mixing braceless with not
[Refactor] Missing include for debug builds
[Refactor] Misc cleanup
[Refactor] Fix a regression with getParent

I accidentally unnested this if/else in `NifModel::getParent( int block
)` because it was confusingly done.  I redid it to be more readable.
[Refactor] Fix regression with kfmmodel

I misread the logic here also. Reverting to previous.