Teach gth.erl about the "not yet implemented" error

This error only appears on development hardware, i.e. customers
will only see this if they're using prototypes.
Merge branch 'master' into handle-nyi-error
Python: fix usage/documentation bug (argument order reversed)
C: silence warnings from Visual C++
C: eliminate possible null dereferences following malloc()

Abort if memory allocation fails. An instance of illegal
pointer arithmetic was also removed---it seems C99
doesn't allow subtracting two null pointers and C++
is unclear whether this is undefined behaviour or not.

So we err on the side of caution.
C: provide a MS VS 'solution' file

This makes it easier for Windows users to build from source.
Merge branch 'master' into ml-rotate-by-time
C: Eliminate calls to strncpy

This simplifies code (in gth_client_xml_parse.c) and makes it
easier to move between Microsoft and ordinary targets.
Merge branch 'master' into ml-rotate-by-time
C: Teach save_to_pcap to rotate files by duration

This affects the -n switch. The old syntax is kept for backwards
compatibility.
C: Simplify build in MS Visual Studio
C: Add a missing malloc check
C: Remove seldom-used examples

It's been many years since anyone was interested in monitoring CAS.
The wide-recorder example is a variant of the 'record' example.
C: Add a makefile-based build project for Visual Studio

(This isn't used for unix builds, only Microsoft)
C: set exit value to nonzero on failure
C: improve error message on failure
C: add undocumented limited-detections mode for testing
C: Add test cases
C: Make L1 setup optional
C: make query_set give a nonzero exit code on failure