DevTools: convert TextEditor.mimeType setter into function

This patch refactors TextEditor.mimeType setter into function
TextEditor.setMimeType.

BUG=
R=apavlov@chromium.org

Review URL: https://codereview.chromium.org/18349006

git-svn-id: svn://svn.chromium.org/blink/trunk@153405 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: add devtools linter as PRESUBMIT hook for LINUX

This patch tests if any file from the patch set belongs to
devtools frontend, and in case of linux platform runs
devtools linter to check for errors.

BUG=
R=apavlov@chromium.org, dpranke@chromium.org, vsevik@chromium.org

Review URL: https://codereview.chromium.org/18351002

git-svn-id: svn://svn.chromium.org/blink/trunk@153406 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [CodeMirror] Add syntax highlighting for some other languages.

Added syntax highlighting based on mime type for some other languages.
Network loaded resources (Document, Script and Stylesheet content types) now always have canonical mime type.
Files loaded from file system and SourceMap sources loaded through inspector backend (via loadResourceForFrontend)
now have mime type based on file extension.
Added workaround for "php" extension being used for both standalone and html embedded php scripts.

BUG=
R=apavlov@chromium.org

Review URL: https://codereview.chromium.org/18341003

git-svn-id: svn://svn.chromium.org/blink/trunk@153407 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix search highlighting interaction with whitespace highlighting.

R=lushnikov@chromium.org

Review URL: https://codereview.chromium.org/18356003

git-svn-id: svn://svn.chromium.org/blink/trunk@153408 bbb929c8-8fbe-4397-9dbb-9b2b20218538