[feladat @ 223]
Bugfix. No domain id was provided when entering 'edit record' page from a search query. Changed code so 'edit record' does not rely on domain id provided by user but determines it from the record id that is about to be changed. This closes ticket:31.
[feladat @ 221]
Applied the database-structure as supplied by Techwolf to make the insert queries work in PostgreSQL versions before 8.2.
This closes ticket:27