move ec2 install git+ruby from setup/early to lib

This is the last of the contents of setup/early.  Woo!