[web/view/treeview] add a 'selected' class on <li> if the entity's url is the currently displayed url
An alternative would be to refactor the corresponding view so that controlling
css classes wouldn't require overriding a 5O-lines method.
Notice by default there is no associated class in the CSS so there is no
rendering difference unless one explicitly add rule in his CSS file.
if repo.system_source.dbdriver == 'postgres':
sql('ALTER TABLE appears ADD COLUMN weight float')
sql('UPDATE appears SET weight=1.0 ')