Refactors ca_init function to chdir into ca directory.
Refactors ca_init function to chdir into ca directory.

This is in preparation for intermediate CAs.
kinkome/miniCA,kinkome/miniCA,kinkome/miniCA,kinkome/miniCA