honor the --docdir configure option.  The projdocdir variable is replaced by docdir variable. projdocdir had the same functionality as --docdirconfigure option.  The default docdir value is: $(prefix)/share/doc/$(PACKAGE) (is the same as --enable-fhs option)
Add acceptance test for usemodule returning nonzero. RM #3571
rm #3571 test for modules returning non zero,  staging.
Redmine#3584: add relocation options and --printlog to testall script
Merge pull request #1058 from tzz/feature/3584-masterfiles-acceptance-tests

Redmine#3584: add relocation options and --printlog to testall script
Merge pull request #1017 from basvandervlies/respect_docdir_option

honor the --docdir configure option.
Merge pull request #1034 from neilhwatson/master

rm #3571 test for modules returning non zero, staging.
Fix constness of some Buffer and BufferList functions.
Add StringAppend function.
Add "cat" and "sed" to discovered tools in acceptance test framework.
Make tmp dir a "real" tmpdir, with permissions and everything.

Some tests that create files as special users rely on this, for
example users promises.
Added a safeguard against using fakeroot together with --unsafe.
Introduce GetErrorStrFromCode().
Add conversion between 8-bit and 16-bit strings.
Fix testall when path contains newlines.

Important for Windows testing.
Add a convenience classes body in tests to set classes unconditionally
Rewrote test tools detection logic.

It should both be more general, as well as more Windows friendly.
Fix compile error and strip newline from variable in AIX.
Merge pull request #1062 from kacfengine/master

Fix compile error and strip newline from variable in AIX.
Retagging acceptance tests, removing folder tags