add certificate CN to app VHOST if it's not already

- with unit-test

This will leave a possibility of inadvertently importing an SSL bundle to an app you may not have intended and us making that work.....not sure if that's worse than failing the deploy if the cert's CN isn't in VHOSTS.

closes #845