assert_shapes_fields: Assert the shapes (and trips) fields needed to work with shapes
Description
Asserts that shapes has shape_id, shape_pt_lat, shape_pt_lon and
shape_pt_sequence, with the expected classes, and, if trips = TRUE,
first that trips has trip_id and shape_id.