Fix NPE when adding a permission without a registrant (issue-344)

Change-Id: Id6bf070a43072a61a0034bd2d971fc819c9b03e3
Remove artifact setting from manager dialog

Change-Id: I249a88994961c671a090cc33cd0eb8e506f6513e
Remove elaborate HEAD determination

Change-Id: I0da34a1da0dc3dcb07a98629c2284184402cb23a
Improve doc page formatting

Change-Id: Icd060aad6c5d72bd02bac8b4098d4b9fe418494b
Automatically adjust web.forwardSlash on Tomcat containers

One issue that frequently arises in the discussion group and the bug
tracker is how Tomcat automatically re-encodes %2f as '/' which breaks
url parameters with %2f.  After documenting this in half a dozen places
it still comes up.  Clearly I haven't done enough.

Gitblit will now act on, instead of just report, an improperly configured
web.forwardSlash character on Tomcat containers.  This will make Gitblit
"just work" for more users and will make the world a better place.

Change-Id: I344428804070a2d6082022cf6b80e2a3d83cea84
Automatically disable the Git daemon on Express

Change-Id: Ide78d4c5db59a734060ce527a59450eed8433c1a
Refactor access to home page class

Change-Id: Ice5706dc0659a44f54e5bf29ca66580e3be22418
Eliminate nearly all direct GitBlit singleton references in Wicket

This is the first step towards modularization and injection.  All
direct references to the GitBlit singleton within the Wicket pages
and panels have been replaced to proxy methods in the GitBlitWebApp
singleton.  There are still two Wicket classes which rely on the
GitBlit singleton; those require manual instantiation (servlet 3).

Change-Id: I0cdbbcf87959d590c446c99abb09c07c87c737bc
Define manager interfaces and update all of Gitblit to use managers

These manager interfaces define how the GitBlit singleton will
eventually be split into smaller component managers.  The Wicket app and
all servlets have been updated to request the needed managers.  There
are _very_ few method signature changes - although there are a handful.

This is a surgical sharding of responsibility based on a proof of
concept refactor.  Instead of random references to  GittBlit.self()
there are now precise references to the manager interface required to
accomplish some task.  Some tasks may require references to multiple
managers.

The code is now littered with calls to GitBlit.getManager(class) and
those familiar with the code-base will no doubt notice the duplication
of methods from IUserService in IUserManager and the addition of
implementation methods in the GitBlit context class.  When the
GitBlit class is broken apart and the existing external authentication
user service classes are refactored to AuthenticationService classes,
this will again simplify and flatten.  But in order to safely and
cleanly modularize the stable code-base we will have to live with a
little duplication for a short while.

Change-Id: I7314ec8acaab2dcc6092785ed4434cc09fdbbe16
Update to Jetty 8.1.13 for Servlet 3

Change-Id: If3f30af2ed250968e65cde58bd413213f4d384b1
Instantiate and register all servlets and filters from code (servlet 3)

Change-Id: I6009e8e157232feab40ec275547a59e2cea23950
Update to Moxie 0.9.1

Change-Id: I8e0479b632af3b5ca809aacf955e4be96822ac2c
Use Dagger to inject managers into all filters and servlets

Change-Id: I9bb2cc0cbfac9841b13bed15a474fefb24355cd4
Eliminate static singleton calls from user services

Change-Id: Ieec34483822f033b19d3ff3259d071c9bc091ed1
Create a Gitblit aggregate manager delegate for git upload/receive tasks

Change-Id: I2c4a5ddf051f228c0bd949c6cd4fd44c3da81d26
Extract RuntimeManager from GitBlit singleton

Change-Id: I5358389396f816da979ec18a31421c2d2b67b3d9
Extract NotificationManager from GitBlit singleton

Change-Id: I40335a1a3966d6c7c55bcdcca5a6dbf2a91a65d7
Extract UserManager from GitBlit singleton

Change-Id: I4885255ed63aa6c4e000c3e5501675440dca3958
Extract SessionManager from GitBlit singleton

Change-Id: I85c9dfc1413f858dc28d731a0bf653828626e127
Extract RepositoryManager from the GitBlit singleton

Change-Id: I265cfaf25e4093ffa5f53f70d8eb1c20d731b7b3