Fix deep list argument error under Windows in os:cmd/1

Because of leeway in implementing os:cmd/1 under different OS there is
a difference in results when calling it with deep list
argument. os:cmd/1 specifies io_lib:chars() type for its argument and
io_lib functions can produce deep lists inspite of io_lib:chars()
result type specification. This commit flattens the argument for
erlang:open_port/2 (which is used under Windows) and expands the
os_SUITE to regress the bug.
Remove unnecessary whitespaces in os.erl and os_SUITE.erl

Conflicts:

	lib/kernel/test/os_SUITE.erl
kernel: redefined deep_list_command test
Added primary bootstrap for os.beam
Rename and document lists:zf/2 as lists:filtermap/2

This function is used all over the place in OTP itself and people
sometimes want that functionality, they may as well not reimplement it
themselves.
Merge branch 'siri/cuddle-with-tests' into maint

* siri/cuddle-with-tests:
  [jinterface] Extend timetrap timers in nc_SUITE and jinterface_SUITE
  [jinterface] Set max heap size for jvm when running echo_server
  [jinterface] Clean up hanging java nodes after each test case
[snmp/agent] Some minor documentation additions
Merge branch 'fredrik/common_test/wait_for_linebreak_doc' into maint

* fredrik/common_test/wait_for_linebreak_doc:
  Added further doc
  common_test: Added documentation for wait_for_linebreak option
Add testcase to exported
Merge branch 'nox/lists-filtermap/OTP-11078' into maint

* nox/lists-filtermap/OTP-11078:
  Rename and document lists:zf/2 as lists:filtermap/2
Update primary bootstrap
Fix zip_SUITE:borderline test

This test fails on a test host where no proper unix unzip is
installed. This has been corrected.
Fix faulty rest on error in unicode:characters_to_list
Enable use of GetTickCoun64 when available
Merge branch 'maint-r15' into maint-r16
Merge branch 'maint-r16' into maint
Correct AVP Length error testcases

To return what RFC 6733 says. 3588 says less so follow 6733, even
though the extra specification of 6733 means that it isn't strictly
backwards compatible. In particular, 6733 says to send a zero'd payload
or none at all while 3588 says to send the offending AVP, despite the
fact that the peer will likely have equal difficulty in decoding it.

The testcases now fail, which will be remedied in subsequent commits.
Add system_monitor of long_schedule
Ensure setting Failed-AVP is appropriate

When setting Failed-AVP in a message record, it was never tested that
the field was actually present. RFC 6733 says it should be, 3588 says
MAY.
Fix gen_server_SUITE:call_with_huge_message_queue

This test always fails when gen is native compiled, since the
optmization is not implemented then. The test is now skipped when
running with hipe.

The test does also quite often fail on one of the test hosts which
runs in a virtual machine. The reason is that the clock runs "in
bursts" on this host, which is outside of the control of the erlang VM
and probably due to the fact that the host runs as a virtual
machine. To overcome this problem, the echo message is now sent 10000
times instead of 10 times - i.e. the test run is prolonged in order to
even out the effect of the bursts.