Enabled visualize command to work on devices.

- Improved version of #18 by @bencochran.
    - Removed _showLocalImage.
    - Merged _showImage and _showRemoteImage.
    - Added error message if attempt to get image data returns nil.
Removed spaces on an empty line.
Added cast to `id` to avoid problems with certain commands.
Add depth parameter to pviews
Cast things and use UIApplication to get the keyWindow
Merge pull request #42 from facebook/various_fixes

Cast things and use UIApplication to get the keyWindow
Merge pull request #41 from facebook/pviews_depth

Add depth parameter to pviews
Merged master into device
Improved indentation.
Merge pull request #36 from antons/device

Enabled visualize command to work on devices
Move auto layout trace command to separate file
Add bordering / unbordering of ambiguous views commands