use ngForm in queryFiddle page for detecting pristine and dirty states

better support for "Show notification when the query has changed, but not saved" in #1