Fix NPE in TravelMode
Add detention id generator
Add manual generator for Migrant
Add JPEG MIME to BinaryType