Enabled Logging, localization & non root context

- Enabled the hook specific logging with storing the logs in separate
log file for custom-landing-page-hook logs
- Fixes related to the URL change after user changes its language other
than default(US)
- Added support for Liferay installed with non root context