Change Loader to give access to the mods directory variable

A small change to add a getter to Loader's private canonicalModsDir File variable so mods can find the folder to store extra data.