Added function PKI.get_subject and associated C functions.
Use SEXP internal structures for passing data to and from R.
Properly allocate memory for the subject, and free it when done.
Maintain version number.
Embed BIO_gets() call in a loop.

This ensures that we can get subject strings of varying length.