A Consolidated Review of Path Planning and Optimization Techniques: Technical Perspectives and Future Directions