Moved waitForAngular into a protractar object, and improved the API so that it can be called like the rest of webdriver.