fix Issue 11378 - implicit runtime initialization/finalization is broken

- require explicit rt_init/rt_term calls from C programs before using D
- delay initialization of shared libraries until rt_init
- finalize all shared libraries in rt_term

[Issue 11378](http://d.puremagic.com/issues/show_bug.cgi?id=11378 "implicit runtime initialization/finalization is broken")