[z1797] Fixed possible crash after auction loading with wrong houseid field value.

Also some auction code cleanups and speedups

(based on commit f594ea2)

(based on commit [s1353] - f9b4197)