Add Java test
Merge pull request #390 from rhy-jot/2013-12-20/java-test

Add Java test
notify user when pushing to non-master branch
Merge pull request #383 from colnpanic/features/notify-non-master-push

notify user when pushing to non-master branch
Fix edge case: app directory is created before first app push

When an app directory (i.e. `/home/dokku/myapp`) is created before the
app is pushed for the first time (which may occur if config files such
as `ENV` are added before the initial push), then the app directory will
not be initialized to a bare git repo nor will the pre-receive hook be
installed because `plugins/git/commands` assumes that if `$APP_PATH`
exists, then the directory must also be git initialized too. This fix
checks for `$APP_PATH/refs` instead.
Merge branch 'receive-predir-fix' into myupdated