Expedia Inc on Wednesday said it agreed to buy vacation rental site HomeAway Inc for about $3.9 billion in cash and stock, in a move that could ramp up competition with apartment-sharing startup ...