Add RSA DER encoding and decoding functions for public keys

From a brief test, a null or empty QByteArray will return a valid pointer to a NUL character.

Still, I'll add an explicit check for that, because I don't trust BIO to be sane. Now that you mention it, we should also pass data.size() instead of -1 - although this should always be ASCII-safe.