Refactor auto-populating: move code to constructor.

Constructor is better place than pre_save signal since it
has access to all passed arguments (field names).
Also reenabled broken test.
Python 2.5 compatibility.