Execute and MultiExecute should return instance of queryFactoryResult
This will reduce the number of potential errors resulting from failing
queries and database connection issues. Existing code checking for EOF
will continue to function (just reporting 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 reporting no data available).
Simplified processing loop for caching results.
Fixed a defect with the handling of RecordCount(): When the SQL query was
not a SELECT, SHOW, DESCRIBE or EXPLAIN query this causing an error instead
of correctly returning 0.
Normalize DIR_FS_CATALOG containing a trailing slash
This was needed under PHP 5.5.11 (x64) on Windows to avoid is_dir() calls
with double slashes from failing. Without these changes, attempting to
access the administrative interface frequently displayed the setup message.
Merge remote-tracking branch 'fork/v160' into query-factory-always-return-result
Merge remote-tracking branch 'fork/v160' into normalize-slashes-filelocations
Added phpdocs to queryFactoryResult and implemented the Iterator interface.
Fixed a bug with ExecuteMultiRandom introduced with the initial commit.
Cleaned up some code
Merge pull request #46 from lhungil/query-factory-always-return-result

ISSUE-95 - Query factory always return result
Merge remote-tracking branch 'fork/v160' into normalize-slashes-filelocations
ISSUE-92 Fix hard coded references
ISSUE-93 fix some hardcoded href links
ISSUE-93 fix some hardcoded href links
PA-DSS required test for blowfish/hash - will integrate into unit tests as well
unittest version of manual PA-DSS blowfish/crypt tests
ISSUE-94 - Consolidate currencies class to one file instead of two
Administrative - code formatting only
CHANGE-89 - (updated) Convert to SHA1 or better for password hashing

Update the code so that it auto-instantiates the zcPassword class, to prevent chicken/egg issue.
CHANGE-18 - Upgrade to Foundation 5.2.2 from 4.3.2
CHANGE-564 - Update installer upgrade scripts
ISSUE-84 - update dependency for Request Class