Changes to sanity tag in ctx

Introduced private constants for the context sanity tag values.
Ignored more MSVC intermediate files.