Update import statements in JavaGuide5.md

Removed unused imports + made static import explicit.
In addition, I propose a contextual sorting of the lines (general, play specific, app specific).