shared library tests for linux
compile object files first to avoid out-of-memory error
Replace core.stdc.stdio.printf by std.stdio.writeln
Revert it to use printf
Merge pull request #1479 from tom-tan/replace-printf-by-writeln

Replace core.stdc.stdio.printf by std.stdio.writeln
Merge pull request #1326 from dawgfoto/sharedUT

shared library tests for linux
Finalize new API,  more examples

Also fix issue 9579.
address review comments
Merge pull request #1470 from blackwhale/regex-new-api-2

Finalize new API, more examples