Fix for race condition where 'captured' Windows Azure instances identify
as the previous instance (LP: #1269626).
Fix Requires->requirements.txt rename in RPM build.
Added config for sudo. Apply sudo config in RPM for Red Hat.
Fix sudo cfg. file mode. Require sudo >= 1.7.2p2-3 with sudoers.d support.
Fix incorrect return

get_url_settings should return a pair of
max wait and timeout and not false, fix this
bug by checking the max_wait <= 0 in the calling
function and returning correctly from there
instead.
Rebase on upstream
Made new ovf-env.xml handling more robust. Test cases included
change behavior to only delete SharedConfig.xml.
make a defined var of DATA_DIR_CLEAN_LIST, some pylint cleanups
Azure: fix issue with stale data in /var/lib/waagent

If a datasource was found other than in /var/lib/waagent, and /var/lib/waagent
contained all the files necessary for 'wait_for_files' (most likely
'SharedConfig.xml'), then cloud-init would continue on before looking properly.

To address this, if the ovf-env.xml came from somewhere other than
/var/lib/waagent, and it differs from the file in /var/lib/waagent, then
we clean up some files that we expect to be provided by 'wait_for_files'.

Also some minor changes to the tests here.
remove the 'tools/sudo' file and references in cloud-init.spec.in

I'm not really sure what the function of tools/sudo was, and it was definitely
not required for fixing the rpm build.
rpm build fixes

- failing build due to missing Requires (changed to requirements.txt)
- RH: require sudo >= 1.7.2p2-3 (with sudoers.d/)
DataSourceEc2: Fix incorrect return in _get_url_settings
                                                                                                                                                               
get_url_settings should return a pair of max wait and timeout and not
false, fix this bug by checking the max_wait <= 0 in the calling function
and returning correctly from there instead.
properlly format the landscape example
oops
doc/examples/cloud-config-landscape.txt: fix invalid example