Replicate devstack fixes across qa/dev

Default flavor to 4G since 1G && 2G flavors run into memory issues
curl the heat functions to the stack user's bash_profile
Use the -i flag when running stack.sh with sudo so that we get the stack
user's environment