Only use the history API in diagnostic console if it exists
Only use the history API in diagnostic console if it exists

Fixes #687

projectkudu/kudu,bbauya/kudu,puneet-gupta/kudu,duncansmart/kudu,chrisrpatterson/kudu,puneet-gupta/kudu,MavenRain/kudu,MavenRain/kudu,bbauya/kudu,EricSten-MSFT/kudu,juvchan/kudu,badescuga/kudu,sitereactor/kudu,EricSten-MSFT/kudu,chrisrpatterson/kudu,juoni/kudu,puneet-gupta/kudu,projectkudu/kudu,dev-enthusiast/kudu,sitereactor/kudu,shibayan/kudu,duncansmart/kudu,kali786516/kudu,barnyp/kudu,bbauya/kudu,EricSten-MSFT/kudu,juvchan/kudu,barnyp/kudu,oliver-feng/kudu,shanselman/kudu,badescuga/kudu,uQr/kudu,juoni/kudu,mauricionr/kudu,kali786516/kudu,projectkudu/kudu,kenegozi/kudu,juoni/kudu,YOTOV-LIMITED/kudu,dev-enthusiast/kudu,juvchan/kudu,shrimpy/kudu,uQr/kudu,kenegozi/kudu,shibayan/kudu,mauricionr/kudu,YOTOV-LIMITED/kudu,badescuga/kudu,juvchan/kudu,uQr/kudu,mauricionr/kudu,EricSten-MSFT/kudu,barnyp/kudu,shanselman/kudu,kali786516/kudu,sitereactor/kudu,badescuga/kudu,shrimpy/kudu,kali786516/kudu,puneet-gupta/kudu,shrimpy/kudu,kenegozi/kudu,chrisrpatterson/kudu,bbauya/kudu,chrisrpatterson/kudu,duncansmart/kudu,dev-enthusiast/kudu,MavenRain/kudu,YOTOV-LIMITED/kudu,shrimpy/kudu,sitereactor/kudu,puneet-gupta/kudu,projectkudu/kudu,kenegozi/kudu,projectkudu/kudu,juvchan/kudu,juoni/kudu,badescuga/kudu,sitereactor/kudu,uQr/kudu,mauricionr/kudu,shibayan/kudu,duncansmart/kudu,oliver-feng/kudu,shanselman/kudu,EricSten-MSFT/kudu,barnyp/kudu,shibayan/kudu,dev-enthusiast/kudu,oliver-feng/kudu,shibayan/kudu,MavenRain/kudu,YOTOV-LIMITED/kudu,oliver-feng/kudu