TripController: addFlight now returns the id of the added flight
New base class for functional tests
Logging caught exceptions using Monolog
Refactoring: moved some code to ApiTestCase
Functional tests for TripController