Update search.py
Update search.py

Moved the last_scan_date to be recorded after all encounters and gym details have been processed since those represent more api requests.
pretsell/PokemonGo-Map,pretsell/PokemonGo-Map,pretsell/PokemonGo-Map,pretsell/PokemonGo-Map