ROL-1995 Switch from Query to typesafe TypedQuery in our JPA* classes.

git-svn-id: https://svn.apache.org/repos/asf/roller/trunk@1606568 13f79535-47bb-0310-9956-ffa450edef68