signer works again with string public keys

See https://github.com/namshi/jose/issues/15#issuecomment-67822189
may I suggest something like:

``` php
$key = openssl_pkey_get_public($key) ?: openssl_pkey_get_private($key);

if (!$key) {
  return false;
}
```

wdyt?