getopthelp: added module getopthelp

This module is a wrapper around getopt_long that handle the short and
long options in an unified way. It can also generate help message
automatically.

Signed-off-by: Celelibi <celelibi@gmail.com>