Initial dynamic library support implementation for Windows

- need to export symbols; use exports.def for functions and API define for data
- make some functions global instead of static so they can be exported
- 'import' statement looks for dlls with an `Init` func returning a module obj