Converted dojo/window viewport dimension tests to intern.

The dojo/window tests are going to be tough to convert. I would like some feedback before proceeding with conversion of all the dojo/window doh tests. 

I did the conversion with as a little change to the original doh tests as possible. 

Here is a link to the original tests for comparison. https://github.com/dojo/dojo/blob/master/tests/window/viewport.html
I don't like this approach. It will slow down the development and troubleshooting activities for developers. 

I like to have the ability to run the functional test HTML page without any interactions via code or scripts. I should be able to load the page and click buttons and see output as a normal user would. With this initialize callback I would have to open the JS console and trigger the initialize function with a callback function before I could interact with the page.  Calling the initialize function in this manner on each page refresh during development or debugging will be tedious and time consuming. 

I don't think the polling approach is that bad, yes the test runner will have to poll the page waiting for the flag. But i'd rather have the machine do the tedious work than torture a poor developer :)