Update to FDB API 1.0

FoundationDB 1.0 has been released! Along with a number of API
improvements the library is generally available in Maven. The internal
working of Counter has been changed to use Database.run() in more
places. This means that more code will have retry paths automatically.