Add DSA private key api, docs and tests

refs #230, #731