Merge pull request #39 from arkxu/java_start

correct nginx 404 configuration
FEATURE-CF-000034. Lowered checking of total mem to 4000000kB as actual
value varies according to host of VM.
FEATURE-CF-000034. Changed memory warning message text.
Add new X-HTTP-HOST header to support hostname with port routing.
change default error log level to warn