Added GetVar functionality to the MvcDatabase.php