tests: scanner generate header

Scanner is program that crawles through given files and
copies out every declaration marked by WL_EXPORT_TEST.
It saves these declarations into test-runner/tests-private.h
so these declaration are accessible in current from for testing.
The definitions will be loaded by helper function from object
files (symbols handling will be in next commit)