clean up POM a bit
fix Long <-> Integer casting when unmarshalling
add quick test for storing with no Long @Id given