Post-merge cleanup. Removed unnecessary code.
Added variable max_turns to 'survive # of turns' battle condition. Fixed turn condition check to occur before main player moves (instead of after).
Added loading and saving of current turn in local storage.