Change method getXXXTypeById to return property type object rather than
its id. Affect files are: TypesService and TypesServiceImpl

By ZhiYu Yang
27 Sep 2014
test case for getting object based on criteria control
Merge branch 'Kim'

	Modify TypesService&TypesServiceImpl -> findStatusTypes
	From findStatusTypes() to findStatusTypes(int criteriaId)
	For example, the status types in enquiry should pass 1. For other place
please define the id and value in CriteriaControls and
CriteriaControlsValues tables
	
	By ZhiYu Yang
	27 Sep 2014
mods to configuration to change from update to validate for bean-table
mapping
mods to entity related to histories table
mods to define sql-type in some attribute in hbm files
mods to map contacts to createdUser and updatedUser

by Kim To, 28/09/2014

Changes files:
applicationContext.xml
hibernate.cfg.xml
all beans and hbm files
EnquiryAction.java
Merge remote-tracking branch 'origin/Kim'

This version is aim to suit the change of the database with proper
configuration in spring "set hbm2dll property with value 'validate'"

Kim also modify the db add trigger and some other stuff, check her
branch commit comment for more details

By ZhiYu Yang
28 Sep 2014
change made in TypesService.java and TypesServiceImpl.java

change all parameters for methods findXXXTypeById from String name to
Int id.

By ZhiYu Yang
29 Sep 2014
Created test jquery for providing tooltip for status type
modified description to comment for equiry

Quang
28/09/2014
Created test files to test changes before implementing onto enquiry
files.
Enquiry updated to accommodate changes from grabbing type service name
to type id
Merged with Master in prep for pushing
Merge branch 'Quang' of https://github.com/IATeam/IANEW.git into Quang

Conflicts:
	IANEW/WebContent/forms/includes/summary.jsp
	IANEW/WebContent/testQuang/test.jsp
	IANEW/src/test.xml
	IANEW/src/uow/ia/action/TestAction.java