Debug IP address parameter

Added a debug IP Address to be used when working locally for example.
Also handled a PHP warning in case nothing was returned by getFreegeoip() function
I'd prefer to escape this parameter as the input is text, so I'd change it to `htmlspecialchars($this->params->get('debug_ip'));`