Harry Kane came back to haunt his former mentor Chris Ramsey and bagged both goals as top-four hopefuls Tottenham ran out 2-1 winners at QPR.