Fix #2787 - server.sh Java path spaces

Tested on: OSX 10.9.4
Added quotes around the path to make it possible to have a JAVA path (as defined in $JAVA) to work with spaces.
This happens when you have one java install at an Apple computer with a recent OSX version. In many tutorials about updating the java version this strategy is being used.
 Fix #2787 - console.sh Java path spaces

Same fix for spaces in paths as the last fix on server.sh commit:
01a5f9dc797ae593bb83529ab1a19eef83d3f97f
Server.sh removed double quote which showed up

Removed wrong double quote.
Shutdown.sh path spaces issue #2787 pull: #2789

Shutdown.sh has the same issue with paths with spaces in it. Error from testing:
$ -bash: ./sh: No such file or directory
$ ./shutdown.sh: line 53: /Library/Internet: No such file or directory

So added quotes.
Merge pull request #2790 from lucfranken/master

Fix: 2787 - Spaces in path to JAVA