Update dependencies.

Also add gradle versions plugin to simplify dependency updates.