check_cpu - new option '-m|--no-cpu-model'

New command line option '-m|--no-cpu-model' for removing
the cpu model description from the output message.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
cpustats lib - simplify the code by adding a function and some wrappers

Simplify the logic of the library 'cpustats' by adding a new function
('cpu_stats_get_value_with_pattern()') and some wrappers that hide
some implementation details.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
cpustats lib - print better error messages

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
check_cpu - reorder the help message

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
cpustats lib - extend the parser for processing the lines 'cpu#n'

Extend the parser coded in 'cpu_stats_get_time()' for processing the
lines 'cpu#n'.  This extension will be used by the plugin 'check_cpu'
for alerting even when a single cpu will cross the warning or
critical thresholds.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
mountlist lib - prefer the glibc function 'hasmntopt()' when available

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