Add code to handle stdlib, so the correct version is installed for each puppet version.

Also added commented out code to show how additional modules should be handled.