Fixed some jpql functions in grammar
Fixed #23 #25 #26 #28