This change modifies processing of the BUG= stanza on the review page.
This change modifies processing of the BUG= stanza on the
review page.

In addition to processing numeric bug IDs (converting them to
URLs of the chromium bug tracker issues), the bug IDs of form
<tracker_name>:<issue_number> are also being recognized now,
the valid <tracker_name> strings are 'chromium',
'chromium-os', 'chrome-os-partner', 'gyp', and 'v8'. The url
names are derived from the tracker names.

tested by building an instance of the application and running it with different values put in the BUG= stanza.

Observed, that strings

BU_G=1234, chromium-os:2233, chrome-os-partner:2211
BUG=chromiuum:1234,  1234, 2233, chromium-os:2345, v8:3456, ixyz:1234, chrome-os-partner:234 chro:mium-os:112 some junk after that

(note BU_G instead of BUG above to suppress current
behavior) get converted into

BUG=<a href="http://code.google.com/p/chromium/issues/detail?id=1234">1234</a>,
 <a href="http://code.google.com/p/chromium-os/issues/detail?id=2233">chromium-os:2233</a>,
 <a href="http://code.google.com/p/chrome-os-partner/issues/detail?id=2211">chrome-os-partner:2211</a><br/>
BUG=chromiuum:1234,
 <a href="http://code.google.com/p/chromium/issues/detail?id=1234">1234</a>,
 <a href="http://code.google.com/p/chromium/issues/detail?id=2233">2233</a>,
 <a href="http://code.google.com/p/chromium-os/issues/detail?id=2345">chromium-os:2345</a>,
 <a href="http://code.google.com/p/v8/issues/detail?id=3456">v8:3456</a>,
 ixyz:1234,
 <a href="http://code.google.com/p/chrome-os-partner/issues/detail?id=234">chrome-os-partner:234</a><br/>
chro:mium-os:112 some junk after that

(modulo some extra line breaks)

Patch from Vadim Bendebury <vbendeb@chromium.org>.

Review URL: http://codereview.chromium.org/4550002

aungzanbaw/rietveld,fuzan/rietveld,DeanHere/rietveld,foolonhill/rietveld,ericmckean/rietveld,sajingeo/rietveld,DeanHere/rietveld,aungzanbaw/rietveld,draem0507/rietveld,fuzan/rietveld,supriyantomaftuh/rietveld,dushmis/rietveld,google-code-export/rietveld,berkus/rietveld,draem0507/rietveld,berkus/rietveld,supriyantomaftuh/rietveld,arg0/rietveld,gco/rietveld,robfig/rietveld,xtypebee/rietveld,foolonhill/rietveld,berkus/rietveld,google-code-export/rietveld,andyzsf/rietveld,rietveld-codereview/rietveld,salomon1184/rietveld,sajingeo/rietveld,v3ss0n/rietveld,dushmis/rietveld,xtypebee/rietveld,DeanHere/rietveld,xtypebee/rietveld,gavioto/rietveld,rietveld-codereview/rietveld,gco/rietveld,v3ss0n/rietveld,gavioto/rietveld,fuzan/rietveld,arg0/rietveld,Koulio/rietveld,openlabs/cr.openlabs.co.in,andyzsf/rietveld,arg0/rietveld,Koulio/rietveld,dushmis/rietveld,google-code-export/rietveld,Koulio/rietveld,openlabs/cr.openlabs.co.in,andyzsf/rietveld,robfig/rietveld,aungzanbaw/rietveld,salomon1184/rietveld,rietveld-codereview/rietveld,gavioto/rietveld,rietveld-codereview/rietveld,ericmckean/rietveld,salomon1184/rietveld,v3ss0n/rietveld,ericmckean/rietveld,foolonhill/rietveld,sajingeo/rietveld,gco/rietveld,draem0507/rietveld,supriyantomaftuh/rietveld,openlabs/cr.openlabs.co.in,robfig/rietveld