Scottish Premiership leaders Inverness continued their great start to the season with a 2-0 victory at home to bottom club Hearts.