some database modifications - NOT NULL for some fields removed
merged with current 3.1.3, added Housing und permgangs (made by xmscx - thanks to him for this work)