On the extension of the Laplace-Lagrange secular theory to order two in the masses for extrasolar systems