logging: make 'settings ui from db' look more like Mercurial ini file notation

--HG--
branch : beta
logging: make 'Creating a cache key for...' more readable

--HG--
branch : beta
logging: include more info in action logging

These messages are very frequent and thus shows what is going on on the server
- and it is nice to have some extra information to give some context for other
messages that might be logged.

--HG--
branch : beta
logging: clarify logging of db logging

It said that a user was added ... which wasn't true.

--HG--
branch : beta
logging: include more info in grant/deny log entries

This gives more useful information when grepping through the logs.

--HG--
branch : beta
html templates: escape '>' as '&gt;'

--HG--
branch : beta
email: fail nicely when no SMTP server has been configured

--HG--
branch : beta
admin, email test: fix test for test_email recipients

--HG--
branch : beta
access control: fix owner checks - they were always true

The lambda expressions seems to be left over from something else. They were no
longer executed and thus always evaluated to true.

Some of the functions also failed if they were executed.

--HG--
branch : beta
admin settings: show numbers in rescan flash message instead of python lists

--HG--
branch : beta
compare: more helpful error messages when a repo wasn't found

--HG--
branch : beta
diff view: don't mix css classes for new and old line numbers

--HG--
branch : beta
nicer representation of list of rescanned repositories

--HG--
branch : beta