Added settings.cfg to .gitignore
Wrote ugly workaround for some testing bug.

There's something wrong with using different filenames. The second time
the database is created the new tempfile isn't used. Because I'm the
only one (of three) with this problem and the only one with windows,
it's probably my os's fault.
Fixed KeyError in __repr__ of (cms and user).models

I thought it to be a good 'id' at first =D But I should have known it
wouldn't work.