Added a config option to PixelmonConfig that prevents pokemon from being captured outside of battle by preventing the pokeball from being thrown inside the ItemPokeball class if allowCapturingOutsideBattle is set to false.