fix($sniffer): history problems on Boxee box + test

History API not working properly on Boxee box browser (old Webkit)
problem similar to the one on Android < 4