Fix history_state requestfailing

When RequestHandler and parsing .json extension are enabledm history_state rendering will fail (will search for .ctp in json subdir). Setting view and layout to null in controller will keep proper response rendering no matter if RequestHandler is enabled.