fix for component security group creation

This commit addresses security groups being placed on nodes by
components.
Version bump to 5.0.4
Regenerate gemspec for version 5.0.4