Add support for using username and password to cloudmonkey.
The interactive CLI user can call 'login' and 'logout' to start and terminate a session.
If the apikey and secretkey are not supplied in the config, then the username and password are used.
If the session has expired, the CLI will automatically login and obtain a session
adding requests used in login/logout using session

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Logout when exiting the CLI

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
Fix pep8 errors.
Note: still has flake8 errors related to unused imports and unused variables
cloudmonkey.py:26:1: F401 'pdb' imported but unused
cloudmonkey.py:56:1: F401 'rlcompleter' imported but unused
cloudmonkey.py:177:1: F841 local variable 'myresults' is assigned to but never used
cloudmonkey.py:180:1: F821 undefined name 'x'
cloudmonkey.py:183:1: F821 undefined name 'x'
requester.py:24:1: F401 'httplib' imported but unused
requester.py:26:1: F401 'os' imported but unused
requester.py:27:1: F401 'pdb' imported but unused
requester.py:28:1: F401 're' imported but unused
requester.py:30:1: F401 'shlex' imported but unused
requester.py:33:1: F401 'types' imported but unused
requester.py:36:1: F401 'urlopen' imported but unused
requester.py:209:1: F841 local variable 'error' is assigned to but never used

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
Fix flake8 errors as well. The remaining error is:
cloudmonkey.py:55:1: F401 'rlcompleter' imported but unused
possibly because this is a conditional import

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
Update docs to reference username password method
Merge branch 'username_password_support'

Conflicts:
	cloudmonkey/cloudmonkey.py
	cloudmonkey/requester.py
Fix merge error
PEP8 cleanup
Flake8 reports on unused imports
Async apis require expires as well