Improve utils.wait_for()

1) Rename the 'sleep' parameter to 'check_interval' for more clarity;
2) Add another test for the case when update_resource=None (better coverage);
3) Reduce the running time of the method call in the tests.

Change-Id: If2c6770fb18714fc8fbee0ac0493fb02bbdfea08