Refactored stable path finding and added json config detection.
Refactored stable path finding and added json config detection.

This also migrates the values found in the other methods to the configuration file.

UselessToucan/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu