Fixes #2028: LaunchConfiguration does not retrieve AssociatePublicIpAddress properly

This commit is a fix to a missing feature of pull request #1799
Merge remote-tracking branch 'hltbra/develop' into launchconfiguration-associate_public_ip
Added unit test for #2029, #2028
Updated unit tests for #2028, #2029
Merge remote-tracking branch 'pasc/launchconfiguration-associate_public_ip' into develop
Fixes #2051, #2028, #2029.