IP methods fail when loopback interface is specified.

Just as CLI command do.
Reorder method in IPCapability.
Adapt tests to new ipv4 netmask format.

Capabilities expect and return netmask in its short format.
While model stores the long format.