database.c: new function station_get() to get station name by id
database.c: station_find() fix return code
database.c: ensure finalising sql_stmt

trains.c: print_trains() now also prints station names