Update JavaGuide2.md

add addtional lines to modelsTest.java to prevent compilation error.

import java.util.List;
import com.avaje.ebean.*;
import play.libs.*;
Merge pull request #2489 from sombatsombat/patch-1

Update JavaGuide2.md