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.
Merge pull request #3 from deadVertex/master

Created FlightModel class.