New title search algorithm and Edit feature

Now titles can be accessed directly with title name, no more silly id's.

Entry's author or user with attribute ROLE_ADMIN can edit entries.
// TODO: entry edit time.