Reorganize the error and nputils libraties

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>