Query factory always return result

This will reduce the number of potential errors resulting from failing
queries and database connection issues. Existing code checking for
"$result->EOF" will continue to function (just report no data available).

Changes were also made to queryFactoryResult to allow RecordCount to work
when the result is not cached and no mysqli resource exists. This should
allow existing Zen Cart core code utilizing "$result->RecordCount() > 0"
to operate (just report no data available).

<sub>**Note:** Have not checked to see how this might affect the detection
code for the databas