Richmond-based maker of software for legal discovery documents acquired by McLean-based firm