Fixed almost all of the Java warnings for org.ektorp

Mostly updating away from deprecated APIs and fixing imports, some other small bits and pieces

Only remaining warnings are for JSON deserialization, where the current deserialization doesn't consider the cases for any tokens other than the expected ones, which is probably a slightly bigger and separate job to fix. Any enthusiasm for me doing that, or not too bothered?