AbstractQueryFactory: Do not implement Serializable

The interface was used with @SessionScoped, but as AbstractQueryFactory is
stateful @Stateful is required for having different instances