updated enquiries and enquiry validation
Merge with Quang's brance

Also add log4j configuration in web.xml and change content in
log4j.properties to enable stdout

By ZhiYu Yang
06 Oct 2014