Call Native.dispose when DLL unloaded
Dispose of all allocated memory on native library unload
Merge pull request #378 from twall/dispose-on-unload

Dispose on unload