Fix apt-get hanging on prompt

Requires '-y' flag to answer yes to every question.
Add JDK sources to required software list
Set default editor to VIM