Added focus directive

The focus directive allows us to autofocus a particular element
(assuming it supports keyboard focus) when it is rendered to the
DOM. The example use case is the search page, where the input text
field is automatically selected.

Change-Id: Ib2ec35134be5c667ea01b48433815a857d00c6d2