Prevent autorefresh on /new and /edit form pages.

This resolves http://projects.puppetlabs.com/issues/15036