check_temperature - the trip points can be no more that four. Modify the loop accordingly

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
check_temperature - move get_critical_trip_point() to the sysfsparser library

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