Merge pull request #1 from nZEDb/dev

Dev
Merge pull request #2 from nZEDb/dev

Dev
Merge pull request #3 from nZEDb/dev

Dev
Merge pull request #4 from nZEDb/dev

Move transaction start to beginning of loop, so the rollback removes c/b...
Merge pull request #5 from nZEDb/dev

Fix range issue for partrepair.
Merge pull request #6 from nZEDb/dev

Dev
Merge pull request #7 from nZEDb/dev

Dev
Merge pull request #8 from nZEDb/dev

Binaries, more speedups to inserting headers, fix issue with part repair...
Merge pull request #9 from nZEDb/dev

Dev
Manually updating versions.
Merge pull request #10 from nZEDb/dev

Add back on duplicate key update to collection query, required for those...
Updating tmux monitor.php and start.php to use Settings class instead of separate DB and Sites classes.
Changing all $db to $pdo, oops.
Fixing occurrence of $site I missed.
Replacing usage of DB() and Sites() with Settings, which uses less memory.
Oops, missed a couple of Sites().
Fixing missed or typoed $pdo.
More typoed $pdo
Adding magic method to Settings to treat non-existent fields as simple settings.
Fixing bad isset checks.