Added Support for Message inheritance

Message Inheritance is disabled by default.
fix for winrt compilation error
Merge branch 'joeMaster'