ActionController: remove obsolete code
ActionController: isolate ignoreXhrBody

This function is only a workaround for broken forms not redirecting
after submission. Will hopefully be removed soon.
ActionController: add isXhr() method

Makes things easier as we use this a lot