Switch to longs for sql bigints; add variable testdata
Fetch variables
Move entities/enums into model package; remove JSONObject in favour of Jackson ObjectNode
Read/write enums to database
sort studies
Return arm ids as well as names so that measurement results can be bound easier
WIP on retrieving measurements