implemented -resign and -rekey options for req

Those options allow to use a new private key and/or
re-sign an existing certificate request