Foreign investor buying, stronger corporate earnings and falling crude prices have helped reverse months of pressure on Indian equities