Add a new function code:get_mode() can be used to detect how the code servers behaves

Rationale:
    Some applications (like erlide) have code to be loaded dynamically on a
    node. It may be slow to load everything upfront every time, so if the
    node is in interactive mode, we would like to just append to the load
    path. Currently, there is no direct way to detect if the node is running
    in embedded mode or not so that we can do the right thing.
Merge branch 'dg/win_icon' into master-pu
Merge branch 'sk/odbc64' into master-pu
Merge branch 'sal/ftp' into master-pu
Merge branch 'as/tls-psk-srp-suites' into master-pu
Merge branch 'rc/break-out-asserts' into master-pu
Merge branch 'nk/jinterface_dont_compress_if_size_increased' into master-pu
Merge branch 'bk/slave_options' into master-pu
Merge branch 'vd/tuple_constructor_bug' into master-pu
Merge branch 'vd/jinterface_windows_cookie' into master-pu
Merge branch 'vd/code_get_mode' into master-pu