Added ssl-ca option to mysql dbshell command - #22646

https://code.djangoproject.com/ticket/22646

In the process, added the regression tests for the other options too
I don't think `classonlymethod` is correct here. Its exception message "This method is available only on the view class." doesn't make sense in this context.