nagios_common: Move check_solr into module

Change-Id: Idcf524663602925afd12a7d0760b240fa93461e3