Add support for per-repository bugtraq configuration

Imported the reference implementation contributed by syntevo which
is used in their SmartGit product.  You may create a bugtraq config
section inf your .git/config file OR you may add a .gitbugtraq file
to the root of your repository.

Example:

    [bugtraq "issues"]
        url = http://code.google.com/p/gitblit/issues/detail?id=%BUGID%
        logRegex = "[Ii]ssue[-#:\\s]{1}\\d+"
        logRegex1 = "\\d+"
    [bugtraq "[pullrequests"]
        url = "https://github.com/gitblit/gitblit/pull/%BUGID%"
        logRegex = "(?:pull request|pull|pr)\\s*[-#]?([0-9]+)"

Change-Id: Iaba305bf4280d08cc4d1abf533c2f1365470a43f
Simplify bare repository bugtraq config loading

Change-Id: I223df72df371ad6e5559f57da16167e56b1e66ad
Simplify blob loading code

Change-Id: I7f8ad8936e620dd06e88d85f6837248eea75a1ec
Support Markdown image links relative to the repository root (issue-324)

Change-Id: I8bad02b26a20636e4fc3d1f0ab0a16f0bacc7bf1
Remove @Inject references because they confuse JEE containers

Change-Id: I2e4a8e7424e7c62d1e89ca62a91423fdf3e36ac8
issue-350: Fixes issue when an apostrophe is present in a User's name
Fix LDAP port and bind regressions due to change for issue-343

Change-Id: I76ee581e067a30fb1656c5c62bdf743846f1a767
Merge pull request #128 from alexmob/issue-350

Fix chart failure when an apostrophe is in a user display name (issue-350)
Documentation

Change-Id: I94c6f1a31de8e067f3be788a2a77ec7b4c3a5ea8
Allow null authentication provider to manipulate users

Change-Id: I07405f2ed915b8f544ac58aca8367301a7d23e38
Fix external authentication failure

Change-Id: I0f415941a4bfd5e63d85c60613cea0c7d10cbb49
Centralize cookie creation

Change-Id: I1a17416121764f33a8d05a88c80cece0c03ac41d
Fix NPE on usermodel account type checking

Change-Id: I964381a896e8c8bf8cce5f19a83fd7c33ef5c9bd
Remove deprecated methods from User and Team models

Change-Id: Ief3231270e55b8e4075de45c70ee24517b05b3fc
Fix NPE in getting a user's fork if repository caching is disabled

Change-Id: I10e90f54964daa32d954b47a8a6d54267b215222
Remove obsolete pageName label

Change-Id: I2c5df563393de1aa69c3ea0f2cbd5e7b11e3f3dc
Show mirror indicator on repository url panel

Change-Id: I5eb66500cc1ed47f97d4935d42ea4c3ca4cdba14
Rollback to Servlet 2.5

Combining Dagger and Servlet 3 works really well on stock Tomcat and
Jetty but it is a troublesome combination on JEE containers with their
own ideas on how to instantiate classes.  JBoss AS 7 has been
particularly nasty and it is just simpler to scaleback and stay with
Servlet 2.5 than it is to fight all permuations of containers.

Instead of using constructor DI, the servlets and filters each have an
inject(ObjectGaph) method which is automatically called during
initialization.  Each servlet or filter is responsible for retrieving
the required dependency from the graph.  The Dagger object graph is
created in the context listener and stuffed into the context as an
attribute.

Change-Id: Ib5714584fe73e2a6b9c6fda12af080a43356cbda
Fixed regression in /r/ security due to Servlet 2.5 rollback

Change-Id: Id7e882cf48689ace8910718e0091207f8e8c6912
Use multiple mappings for the git servlet instead of multiple instances

Change-Id: I47adeaac142ca7ea5199a5c4c2164ffd9cc68551