Modify to_database method to utilize laravel 3 classes

Removed use of DBUtil and replace with Schema and DB.