Minor improvements on datbasemodel class.

Improvements on DatabaseImportForm. Added filter by oids option.

Added a specific exception for import errors.