Meddled around with the digital compass module a little, managed to find a very helpful instructables article on how to get a compass heading out of the module via I2C and into the brains of the arduino.
Now all that's left to do is rig the motor to go off when pointed north, wire up the battery and its charging/discharging circuity, design the enclosure, and print it out.