Added feature:

Ability to auto-lock the database https://www.keepassx.org/dev/issues/62

Also corrected an issue which prevents KeePassX from crashing if a database has an empty UUID field or and empty date field.