Refactor|World|Map: Implement important map element/object iterations with C++11 lambdas

Converted more of these iteration mechanisms to use lambdas.

The special case forAllLinesInPath() iteration used by Interceptor
has now been moved into that class. It is unlikely that another
component will need to perform a similar traversal without having
to also sort the results (Interceptor performs the sort).