remove dead code, produce empty route when origin and destination are the same
remove remaining NULL pointers by nullptrs
fix compilation on GCC 4.8.2, type of priority_queue<> is not properly deduced
fail hard when building tools and not all prequisites are met