lxip: support configuration of libc plugin

Added support for the 'ip_addr', 'gateway', and 'netmask' configuration
parameter.

Issue #984
Qt4: fix the 'qpluginwidget' test

Fixes #1015.
loader: fix the 'constrain_geometry()' function

Fixes #1014.