Move function declarations of _utils.cpp into .hpp

Also aabbExtrema() was moved into Shop.hpp
Fix runtime error in debug mode and without openmp.

See:
https://answers.launchpad.net/yade/+question/255699