Allow use effectIndex in spell_target_position.
Core/StatSystem: Added mastery handling for enchants and reforging
Core: Declare some functions const and remove use of "using" directive in a couple of files