* add FindValidNodes() to statdb and update overlay node selection options * add logic for FindValidNodes * add FindValidNodes test * fix findvalidnodes query * fix linter errors * clean up comments