Update create_spring_mvc.sh

Using heredoc commands instead of globular strings with escapes and using mkdir -p instead of multiple mkdir commands.
Update create_spring_mvc.sh

Fixing two issues that Liviu brought up:
1) variable interpolation not being setup due to heredoc string literals 
2) he wants the script to move the project directory to cwd.
Merge pull request #1 from swong001/develop

Update create_spring_mvc.sh