Added functionality to measure error

The training screen has an option to set a reference point and measure
the average error from it
Moved libs to /libs folder, error sampling UI things

Move IOIO stuff to the main libs folder so they wouldn’t vanish on a
project clean
Error sampling averages the point and posts its progress on the
progress bar