Fix redmine #2936
Change testall script to expect being in OBJDIR/tests/acceptance

A clear error message is printed if this is not the case. This way we
avoid looking for cf-* executables in erroneous directories, which
happened when building out of source directory.
Add acceptance tests for redmine #2936.
Merge remote-tracking branch 'jimis/bug2936'