Fixed more_results,
unit-test by Alexey Melezhik, https://rt.cpan.org/Public/Bug/Display.html?id=45684
code by Andrey Zapariy
just to set MYSQL_OPT_WRITE_TIMEOUT and MYSQL_OPT_READ_TIMEOUT by dsn
allow compilation with msvc

MSVC demands predeclaration of all variables. The changes in this commit
move declarations to earlier parts of the code, thus fixing a number of
errors thrown by the MSVC compiler.
Fix primary_key_info result ordering

DBI documentation says

> The statement handle will return one row per column, ordered by
> TABLE_CAT, TABLE_SCHEM, TABLE_NAME, and KEY_SEQ.

But since we're only querying one table the three first ones are by
definition the same, so it's only necessary to sort by KEY_SEQ.

This happened to come out in the same order on previous versions of
perl, but as of 5.17.10, hash insertion and traversal order is more
randomised, so now it fails mos of the time.
Debug to solve why prepared statements converts -1 into 4294967295
Merge pull request #33 from zhurs/master

fix for more_results method
Removed debug not needed
Merge pull request #36 from zentooo/enable_write_and_read_timeout

just to set MYSQL_OPT_WRITE_TIMEOUT and MYSQL_OPT_READ_TIMEOUT by dsn
Merge branch 'msvc-fix' of github.com:wchristian/DBD-mysql into wchristian-msvc-fix

Conflicts:
	dbdimp.c
Merge branch 'master' of github.com:CaptTofu/DBD-mysql
Found call to trace needed to be removed for public release
Merge pull request #39 from ilmari/primary_key_info_order

Fix primary_key_info result ordering
Updated changelog with various pull requests!