Simplify automated test, use CasperJS atop PhanotmJS.

Change-Id: I004cde5425d134fada5b486f3ca0e7cc6371f32c