fix problem for field with interface and introduce formatter for the
functions
fix #22
Merge remote-tracking branch 'origin/branch_v1.4'

Conflicts:
	src/main/java/org/torpedoquery/jpa/internal/handlers/DistinctFunctionHandler.java