Use <dependencyManagement> for junit. Updated other deps. Note that the bouncycastle reps are slightly stale because the latest version causes compilation failures.
Merge pull request #867 from jendave/dep-management

Use <dependencyManagement> for junit. Updated other deps.