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