Rewritten waiting for wage behind closed doors. Also updated treasury handling and gold storing code.

git-svn-id: http://keeperfx.googlecode.com/svn/trunk@1478 40a56aae-0377-11df-bfb3-7781b9cb07ea
Small gold-related unification.

git-svn-id: http://keeperfx.googlecode.com/svn/trunk@1479 40a56aae-0377-11df-bfb3-7781b9cb07ea