add detect_sensor_placement for hall/qei
update defines for sensor_placement,
move structs from bldc_motor_config to module_common and update config
under all tests, add param in qei module for sensor_placment
minor change