Safer DB version number, and debug feedback if failure on install

Related:
- https://github.com/YOURLS/YOURLS/issues/1479#issuecomment-23428747
- https://core.trac.wordpress.org/ticket/25228
Merge branch 'master' of https://github.com/ozh/YOURLS