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
Good point about `JFilterInput::clean`. I'll leave it up to you. Are you interested in updating your PR with these changes?