Fixes CCI wait_for_transaction

Fixes wait_for_transaction to only block on transactions that pertain to the provisioning
or reloading of a CCI and not any of the child transactions such as setting up monitoring
or setting up VPN accounts, etc.
'
Cleaned up using lookup helper and cleaned up the logic
adds wait_for_ready() to CCI and updates CLI to use it
Adds more clarify on the pending flag
so english. much grammar. wow.
white space
Fix bug in wait_for_ready, add tests
Moves complicated tests to their own class and tests
missed some pep8 stuff
Merge pull request #249 from CrackerJackMack/wait

Fixes CCI wait_for_transaction