Guard against null pointers.
Shortened some method names for brevity.
Fixed each_ifaddr.
Enable 2.0.0 and jruby in travis CI.