Fixed tree construction and compile issues

- Added missing setParent calls when nodes are moved between trees, so
they maintain the correct relationship.
- Added a number of casts to satisfy the compiler.
- Renamed an all-uppercase member variable to all-lowercase as it
conflicts with an existing macro.
- Removed declaration and usage of "true" and "false" typedefs.
- Removed reference to Perforce from the MSVC solution.
Signed contributors list
Fixed wrong parent setter for common trees in C runtime

Fixed (again) the wrong value used for setting a tree's parent. This
had accidentially been reverted.
merge contrib file
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' into fixes