Added a lock mechanism for the EnabledJoystick object.
Added a lock mechanism for the EnabledJoystick object.

This is needed since commands can edit this variable.  Each command is in its own thread, so this results are nondeterministic.  This makes the usage of this variable as deterministic.

jdrusso/ScraperBike2013