Set of fixes to logging.
  - Fix setting debug level in options.
  - General standardization of logging
(cherry picked from commit 64d2b52c0e49cd70302ad8c53f27c41cab95b8b6)
Fix MinGW build for output review
(cherry picked from commit b271c85dd240ac03652625a04a8aa46e4df403fd)
Add function categories

This is for output in cf-promises --syntax-description for automatic categorization
of functions for documentation.
(cherry picked from 120243c36f2178409fcec818524b945a0670f66d)
Rename ScopeDeleteSpecialScalar -> ScopeDeleteSpecial
(cherry picked from c7e9c076240428e346e0c58207fec45007a7b789)
Remove ScopeNewScalar, convert to EvalContextVariablePut
(cherry picked from 88bb130bc5130fd9314f13a355c09af974291ccb)
Remove ScopeNewList, convert to EvalContextVariablePut
(cherry picked from a6b1e1ecfacf6ad149d57bd9b77875e4215a7f6c)
Combine ScopeNewSpecialScalar, ScopeNewSpecialList -> ScopeNewSpecial
(cherry-picked from a6bbc43383db0da0a9638ae6ababe8ce8161b24b)
Merge pull request #691 from sigurdteigen/35x

Cherry picks - Merging so that master and 3.5.x don't unnecessarily diverge.