Update create_spring_mvc.sh

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