Moved Reference.java to nanojpeg package.