Add app window icon changing to Window State Sample

This demonstrates the behavior added for https://crbug.com/390907 in https://codereview.chromium.org/411543009.
Same here `var ctx = c.getContext('2d');`