Make ephy_web_view_has_modified_forms() asynchronous

https://bugzilla.gnome.org/show_bug.cgi?id=695642
ephy-window: Simplify ephy_window_close()

Simply use one if block, also put the boolean variable check first.

https://bugzilla.gnome.org/show_bug.cgi?id=695642