Improved design of search results. Fixes #324
Thumbnails link directly to pages. Fixes #274

Solved by setting a global variable before redirect. This might later
be used in viewer state data that will be synced to the database. For
now there is no indication in the URL at what page we started.
Pull request feedback
Correction to focus style
Width of sidebar controls
Ellipsis for long names in autocomplete. Fixes #422
Ellipsis in auto-control pushed right.
Input and buttons height design bug
Default and focused buttons. Fixes #410
Use email address as person display name.

When there are no better fields, use email address before using slug
directly.
New version of APM.
We have to clear our automatically added link if highlight is removed.

When highlight is removed, if there is a link to that highlight in
local annotation editor, which was put there automatically, and user
did not change anything there, we remove that now invalid link. If
there were changes, we do not do anything for now.
Use unicode for ellipsis.
Merge branch 'master' into development

Conflicts:
	client/templates/results.html
	smart.lock