Amazon.com, which is moving in multiple directions vis a vis local, has agreed to buy TeachStreet, the service for matching…