Indian e-commerce giant Flipkart has moved its headquarters back to India from Singapore as it prepares for a potential IPO in the coming months.