WIP ENH: Add "limit" argument to dijkstra
ENH: Limiting works
FIX: Fix old np test
STY: Minor fix
STY: Cleaner docstring, check limit
Merge pull request #2992 from Eric89GXL/dijkstra-limit

ENH: Add "limit" parameter to dijkstra calculation