Replace most sprintf unsafe construction with snprintf.
Changed any API making the assumption a string is large enough to
contain any length to specify a deterministic max length, thus
preventing memory overflow by design.
Added console redirection API for windows and better error handling in
the jnet API for a faster debugging experience.
Eased the ramping  up on msvc to link with proper libs as they are now
automatically linked thanks to new pragma comments embedded in the
windows source side.
Fixed few minor warnings (mostly incorrect casts)