Auto register static/init.js as JavaScript plugin

When plugin does not expose Guice Modules explicitly,
auto discover and register static/init.js as WebUi extension
if found by the plugin content scanner.
This simplify JavaScript development from now on
no Java (or other scripting) code/classes are
required to extend Gerrit WebUi.

(based on the idea and initial patch by Dariusz: Ia5b3cb63f62)

Change-Id: I8c793764ac1876dc62d740d28c0d4cf6b9409b10
Merge "Auto register static/init.js as JavaScript plugin"
VisibleRefFilterIT: Add tests for tag visibility

These would have found the bug where we were using RefMap incorrectly.

The behavior is slightly non-obvious because of the way PushOneCommit
works. Rather than fight more with the acceptance test framework, just
document our expectations.

Change-Id: I0dcf80c84536cacdb216b93b2f36b0f6b680ce84
Fix comparison of IdentifiedUser to Account.Id

Change-Id: Iee02eabde2021b89eaa34079e75d8b639c9965a3
Don't leak RevFlags from IncludedInResolver

Change-Id: Ieace55e2c2959b248134f170355fcf606fbabf0e
ChangeDraftUpdate Don't eagerly read draft notes

This incurs a ref scan; it is eventually necessary when notedb is
enabled, but in the meantime is not.

Change-Id: Ie433bf2fee9ecc6c39bd85233e64f440844b0368
Fix JavaDoc warning

The {@link} tag cannot handle links to packages; remove it.

Change-Id: I25a38418b3adb5d29322e244b097dd8049b037e9
Remove unused import of ModuleGenerator in HttpPluginModule

Change-Id: I63d72275e41e0629cc95ed67b1a5dc670af23a7e
Organize ALL the imports

This was an accident; I had the wrong thing selected in Eclipse when I
pressed Ctrl-Shift-O. It was surprisingly fast and the delta is
surprisingly small so I figured I'd submit it.

Change-Id: I7069f47509c981b59c84755a5aed7945c7f0c9fc
Merge "VisibleRefFilterIT: Add tests for tag visibility"