Don't sort labels alphabetically in UI

Show the labels in the order in which they are defined in
the project configuration.

Three different places are affected:

* Change screen
* ReplyBox pop up
* ListChange screen

More information can be found on this thread: [1].

[1] https://groups.google.com/d/topic/repo-discuss/6dXmADynq2I/discussion

Change-Id: I59d9f099eb9e42ea6758d1caca0948aa4f814c42
Tweak button styles in change screen

Tweaks:
  * Increased hit area of the buttons
  * Soften the border and increased it thickness
    to give the buttons a more modern look
  * Colored buttons have now a darker but matching border

Screenshot:
  http://i.imgur.com/stliTr6.png

Change-Id: Id8d0736408b02bf31b44bd5a82547d94825613aa
GetDiff: Fix placeholder in Preconditions checks

Preconditions.check* only support %s in placeholders, not full format
string syntax.

Change-Id: I2cb6fbf7a8e5ed66a1087181631e223a236ffc36
Consume closure compiler binary from Maven Central

With the fix of [1] we can remove the hack and integrate closure
compiler toolchain the right way.

[1] https://github.com/google/closure-compiler/issues/450

Change-Id: Iec3b0f0833d2898821f20a06c2dad4d2d7d8557c
Always return "text/plain" for commit message file type

Change-Id: Ic881059efa54cd24e6e2c1f211657adcb8338ad6
Fix /content endpoint for commit messages

Calling the /content endpoint on the COMMIT_MSG file was failing
with a 404.

Add handling of the commit message file.

Change-Id: I09f282baf1dfdf780e198a6ec3d12f5b88ae31dd
Merge "Don't sort labels alphabetically in UI"
ChangeEditIT: Make use of assertThat(...).isNotEqualTo(...)

Change-Id: I16d3e861f96ecd499daf519f6cdc92544bb92b13
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Merge "Tweak button styles in change screen"
InlineEdit: Implement CM3 integration, using new screen

Add new screen for editing file and commit message content and dispatch
to it when a user navigates to a file or commit message in change edit
mode from file table.

Two buttons are rendered in header of new edit screen: cancel and save.
Clicking on both of them takes user to CS2.

To differentiate between diff mode and edit mode in dispatcher, new
panel is used: ",edit"; "cm" is not used any more, as only CS2 is
supported:

  c/1/1/foo.txt

opens SBS2 screen, whereas

  c/1/1/foo.txt,edit

opens new edit screen with integrated CM3 editor.

Navigation in edit mode is harmonized from all places: file table and
SBS2 now using new edit screen to edit file and commit message content.
Edit file content popup dialog is only used in two places: When adding
new file to change edit or clicking on "Edit Message" button. In former
case this dialog is preserved until it is replaced by repository
browser. The usage of edit file icon in file table was dropped.

Change-Id: I4d70463357b82a8a3d675dd18b3ea5af99a434b0
InlineEdit: Activate syntax highlighting in CM3

Change-Id: I5cae55fa8e88392cb3f1d4c388d1e9eb7e3de7c9
Use dedicated endpoint for commit message retrieval for revisions

Instead of using GET /changes/<number>/edit:message for both edits and
normal revisions, differentiate on the client side and use dedicated
endpoints.

Change-Id: I7e9786c0b828cca9b0aa76bab43f10d223334d86
Fix trailing space in Actions.ui.xml

Change-Id: I735595e246fdcdda570129f265fe5f395ca79815