Do no use "max" to get max id from dict because it's slow
(thanks to comments in scheduler.py)
	modified:   ../shinken/modules/send_socket_log.py
	modified:   ../shinken/modules/write_file_log.py