Add DSA parameters api, docs and tests

References #230, #731