Improve compatibility detection for <time.h> and <sys/stat.h>: 
- Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. 
- Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly.
Improve compatibility detection for <time.h> and <sys/stat.h>: 
- Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. 
- Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly.
[33b7abb8a2] [7174354ecb] Rewrite TclCompileThrowCmd().
Stack housekeeping repair for last checkin.
Repairs to compile/exec debugging output.
Select improvements in stack depth estimates brought over from mig-review.

Mostly these are just simplifications, removing code that wasn't needed.
Some changes make the stack depth estimate more accurate instruction by
instruction.
Revise INST_EXPAND_STKTOP so that it no longer makes use of its operand.
All the information required to do a proper expansion of the exec stack
to support expanded command invocation is already present.  The operand
doesn't provide any essential information.  By ignoring it, we eliminate
the risk that the compiler might fill in the operand with a bad stack depth
estimate value.  INST_EXPAND_STKTOP doesn't need an operand, but in order
to support loading of existing bytecodes we cannot change it now.  There's
also no need to change what the compiler tries to place in the operand,
though changing it to always be zeros would be acceptable now.
Silence various warnings when doing a 64-bit build with MSVC: Those warnings can only _really_ be fixed in "novem" (so, don't silence them there)
Silence various warnings when doing a 64-bit build with MSVC: Those warnings can only _really_ be fixed in "novem" (so, don't silence them there). 
Use vsnprintf (more portable) in stead of _vsnprintf, except on MSVC
Workaround for mingw-w64 (AMD64-only) bug: It appears that zdll.lib (as produced by Microsoft tools) doesn't import the zlib symbols correctly, so use "libz.dll.a" produced with mingw-w64 tools in stead.
Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64
Fix some gcc warnings which become visible with -Wextra
Fix env.test when running mingw-w64 (AMD64 build) test-suite on wine64. 
Fix some gcc warnings which become visible with -Wextra
Don't use deprecated stricmp/strnicmp any more, but underscored variant for non-GNU compilers.
Don't use deprecated stricmp/strnicmp any more, but underscored variant for non-GNU compilers. 
Some formatting - improved comments.
split off TclInitStubTable() as separate function - which does the actual stub table initialization - previously part of Tcl_InitStubs().
link tclsh with stub library, just like xttest and tcltest, in order to allow additional static stub-enabled libraries to be linked with it.
On 32-bit platforms, 12 characters for version is enough, on 64-bit platforms it will be aligned to 16 characters anyway.
Fix [a876646efe]: re_expr character class [:cntrl:] should contain \u0000 - \u001f
Fix [a876646efe]: re_expr character class [:cntrl:] should contain \u0000 - \u001f