fixed some typos and type erros in Database/Corp/Contracts.php, and Database/Corp/Contracts.xsd