Changed xquery version declaration to 3.0.

References #301.