Fix issues and add test cases for new issues.
- Updated metadata diagram to match current custom attribute structure
Fix issue with interfaces
Patch issue with code rebase.
- Fixed "error CS0162: Warning as Error: Unreachable code detected" on Linux
- Fixed "error CS0219: Warning as Error" on Linux
- Updated test scripts to work with appveyor