updated ObjectUtils.java and added diff functions to Entity.java
updated ObjectUtils.java and Entity.java. Added diff functions to Entity.java