refactor: rename codeViewElement -> element
Created by: sqs
This makes a future change (adding diff view specs) have an easier-to-read diff.
This commit was approved by @felixfbecker in a separate PR at https://github.com/sourcegraph/sourcegraph/pull/3266#pullrequestreview-223543334.