The spring homebuying season helped to increase purchase-mortgage lending by 40% from the first quarter to the second. Still, the purchase sector lost some market share in the first half of the year as refi business percolates. (Includes five data tables.)