nagios_common: Move check_ssl_cert into module

Change-Id: Ibde08f2ae90c9b72f7db92aaeab7f806fc728f37