Add aws ami support

- Check if installing on AWS EC2 platform via instance metadata.
- Configure GRUB correctly, so that boot messages are available
  via instance's console.
- Add init.d script to fetch user's EC2 public key during boot.