Move simple reference query operation to static accessor in domain class
Update joda-time library