A veteran attorney with deep experience working with small and midsized businesses is taking the legal reins of eBay at a time its business is humming and its stock price surging.