wx: Fix failing testcases

Fix bad hit test.
Fix timing issue in test.
reduce bashism

taken from from a pkgsrc patch: patch-lib_wx_configure.in
Merge branch 'dgud/testcase_fixes' into maint

* dgud/testcase_fixes:
  Fix timers
  mnesia: Decrease test times
  Add debug printouts
  wx: Fix failing testcases
  stdlib: Ignore symlink tests on windows
Remove the "coding: utf-8" comment from all Erlang source files
Convert XML files to UTF-8, where needed
Convert XML files to UTF-8