Bug 880330 - Refactor the jsapi-tests to use the new options API; r=bholley