Add UpdateRows() method to MysqlHelper.

Refactor MysqlHelper.php.
Change the way foreign keys are added to schemas.
Add UploadFile() method to the Qewbe API.