altoslib: Add AltosOrient class and max_orient()