Add fork encoder calibration and homing code.

Also fixed a bug in the rear_motor_controller.cpp file which was initializing
the rear motor controller with the wrong encoder peripheral timer.

Cleaned up the implementation of the calibration and homing code to use a
std::array.
Remove unused source file.