Update to use newer version of ChefSpec (~> 3.1)

Update to use ChefSpec ~> 3.1. There are still a bunch of tests failing, but this puts the cookbook in a better position. Most of the failures are now due to the refactoring of the openjdk recipe I believe.