Fix #236 to move apache listen_ports detection

Fix for #236 to move logic to detect and set ['apache']['listen_ports'] before loading the apache2 cookbook.