Added poll_frequency to wait_until_element and wait_for_ajax

When waiting for spinner or progress bar it's desired to have
increased poll_frequency rather than a default of 0.5 secs.

This may avoid high CPU usage seen while spinner or progress bar.

Also fixed few content view test-cases.
My explanation may not be that correct in the earlier reply. But here is what my eclipse IDE warns me.

`unpacking-non-sequence Attempting to unpack a non-sequence`