Bug949608 restore infinite scroll

@erikrose r? Let the discussion begin ;) Let me know your initial thoughts. One question I have is related to the state management we are doing here. I am not sure of the exact instances when we will need to use this. I have only done very limited testing but, so far, hitting that back button after say, having clicked on a result and being sent to a file view does not trigger a reload nor a popstate...