Fix more Win passwords

Note that 'modify_user_with_many_attributes.cf' still fails with this
change.
Mark the single failing test as needs work
Unbreak 239 tests on Windows: #4733 fixed
Unbreak on win: another insert_lines crlf

Close #4670.
Unbreak on win; coutlinesmatching()
Unbreak on win; parsearray() vs #4733
Unbreak on Win; nth() vs #4733
Unbreak on Win; read*array() vs #4733
insert_lines fails on path glob-trotting promisers
ACL tests need some more work on Win

Permissions are not set correctly, the generated files are inaccessible;
the buffer is exceeded confusing cf-agent; expectations in evaluation
do not match what is actually output using native Win tools.

For the time being, mark as needswork. TBInvestigatedFurther.
Refix after #4733
Make sure files in testdir have nix line endings

Instruct git to check out the relevant files with nix file endings — due
to the fix for #4733
Mark setting 2 classes in one promise test as needswork

Fails on Win for unexplained reasons. We have agreed to postpone
debugging of this test for now.
Merge branch 'master' of git://github.com/aappilattoq/core
Fix password hash after plaintext password change.
contrib/reindent.pl: add srv and sub extensions to cfengine3-mode
Give a unique port number to one serverd test.
Replace shell variable with file

Debug output was being truncated always at about the same point, which
turned out it happens because of some limit to environment variables
size imposed by bash when it's run in as /bin/sh. Since our debug output
is huge it make much more sense to store it in a file in WORKDIR.
Fix agent debug log filename.

For debug runs, agent debug log filename was garbled since test_name
contains full path. The debug log is now simply named agent-debug.log.
Keep agent output in the stdout stream...

...when spawning an agent in cf-serverd acceptance tests, it's needed
for the testsuite to scan for "Pass" or "FAIL" keyword.