Example refractoring

In example programs refractored "uper" variable to more general "board".
Changed board initialization from IoBoard to UPER1
Added read_pulse command to GPIO module

read_pulse call UPER's pulseIn function and returns the duration of the
measured pulse.