Add missing include of <cassert>

In investigating the possibility of removing the process configuration registry to enhance thread safety, I discovered that many files that call assert() were missing an #include of cassert, and only compiled because cassert was included indirectly through a chain of #includes that involves ProcessConfigurationRegistry.h.
This pull request adds an #include of cassert to those framework  files that fail to compile due to assert() being undefined if ProcessConfigurationRegistry.h is removed.  For standardization, it also replaces assert.h by cassert in all framework C++ files except C files and third party files,