Fix for issue #10 -
Use the base URL when calculating the project name.
Implement some tests to confirm.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
Merge pull request #11 from magnayn/master

Project name detection not working if base API url is not the root

Resolves #10
fix issue with multiple project windows

- factory should just create and add a new tool window (and not hold instance stuff)

Resolves #13
Resolves #14 (most probably consequential error)
minor cleanups
add test case for parsing project json
add action to open selected change in Gerrit
register actions in plugin.xml

- allows e.g. shortcut configuration
add a git http auth data provider

- handles authentication for Git http operations
move extensions into extension package
set up Gerrit commit message hook after checkout
update iml file
add http user agent header (indicating plugin name)
improve http authentication flow

- try login against /login/ first for Gerrit instances which are fully protected with a http authentication
- this prevents double-http-authentication for /a/ urls
clearly state what cherry-pick action does

Resolves #15
Merge remote-tracking branch 'remotes/origin/master' into intellij13

Conflicts:
	src/main/java/com/urswolfer/intellij/plugin/gerrit/ui/GerritToolWindowFactory.java