Dnamically export module members

Fix for issue chocolatey/chocolatey/227. I'm assumign the files were excluded by mistake. I will update this pull request if that is not the case.