Fixes bug 1096436 - Added facets navigation to the URL and history in Su...

...per Search.

@peterbe r?
Perhaps best to avoid the repeat here. Perhaps something like:
```javascript
func = replace && window.history.replaceState || window.history.pushState
```