Add elasticsearch to stage/production local settings

as the haystack backend
remove obsolete functions from localtasks
update search index on deploy