Add missing include for std::min std::max

Change-Id: Id798053be3a2e8046e48451485afc5d1d74839e1
Reviewed-on: http://gerrit.aldebaran.lan/51411
Approved: jlamotte <jlamotte@aldebaran.com>
Reviewed-by: jlamotte <jlamotte@aldebaran.com>
Tested-by: jlamotte <jlamotte@aldebaran.com>
Reviewed-by: ncornu <ncornu@aldebaran-robotics.com>
Tested-by: gerrit
Adapt for C++11

Before C++11 we got a void* converter, a bool after.

Change-Id: Idb28023b93d6d78d836ea5b494b20510f720eeb0
Reviewed-on: http://gerrit.aldebaran.lan/51413
Reviewed-by: hcuche <hcuche@aldebaran-robotics.com>
Reviewed-by: ncornu <ncornu@aldebaran-robotics.com>
Tested-by: gerrit