Move context_processors to common.

Change-Id: I518c93a151ed05524d207172dd256b16899a472f
More constants to common.

Change-Id: I9cce7654b568e20fb4a321755e28175d3a744322