A fourth-minute goal from John Sutton secured victory for Hearts as they beat Kilmarnock 1-0 at Rugby Park.