Specify version via attributes and allow upgrading

Tested on Ubuntu 12.04, upgrades and downgrades supported. Possible downside is that over time jars for old versions will accumulate on the server.

Did not bump cookbook version number, as I'll leave when to do that up to you.