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.

Sorry I am not able to do anymore, but I gotta get back to some work stuff for the rest of the day!