Update the content panel and relevant functions

Also fixed and error in View interface. About to make the changes
handled in uni
So many bugs

... so many... just everywhere.... refreshFlights function now working
Merge pull request #13 from deadVertex/master

Created controller.php to act as an interface between the
Added list cropping for display table

Also other minor changes
Adding in final touches

Gotta fix up some errors
Changed flightList to an object, not array
Fixed some bugs, almost got it

Current Problem is that the return from view_interface isnt going into
the global flightList in js. Need to investigate
I've just.... I've tried everything

Please.....
Got the flightList limited by region
For the most part everything seems to be workingish

Sorry for the vague description, just look at the code changes. The
display is working properly now, I have to add a few elements next and
handle the timetable generation in a2.sql
Made the displaying better

Fixed some unseen issues in the flight table population.
Also fixed the display to show when a element is empty and when it hasnt
been queried.

Its 3am, good luck bug testing this...
Added the remaining timetable entries to a2.sql.