Use <dependencyManagement> for junit. Updated other deps.

 Note that the bouncycastle deps are slightly stale because the latest version causes compilation failures.