Add a trajectory namespace.

Fix #18.
polynomial.hh: add asFunction to get equivalent RobOptim function.
trajectory.hh: add missing headers.
trajectory.hh: add a temporary using namespace roboptim::trajectory.
Merge pull request #19 from bchretien/bug/missing-trajectory-namespace

Bug fix: add missing trajectory namespace