Created FlightModel class to manage the database tables for flight objects.

Created test.php to make sure that the FlightModel class actually works
with the database.