Allow to detect if a string is a valid IP address
Summary:
Wrapper for filter_var to validate IPv4 and IPv6
Moved from rKGF. See rKGF6d7228f24fc3.
Test Plan: Unit tests provided
Reviewers: dereckson
Reviewed By: dereckson
Differential Revision: https://devcentral.nasqueron.org/D1608