Fix formatting issues found by puppet-lint
Move user and group to variables
Change indentation to two spaces
Add more comments and sanity checks to install script
Update to java 7 on debian