Python cleanup

This is a massive refactoring of the python code.

I've:
 * updated the getTimetable scripts to comply with PEP8, 
 * changed the processing engine to beautiful soup 4,
 * removed the globals,
 * defined a main method, with a standard python entrypoint

Once this is accepted, I'll add some options to the script, so that we can define some CLI arguments.