Added new homing features including:
1.  Drive after homing to user defined position
2.  Use encoder index yes/no when using encoder

Also improved thread coordination for autooff pollService
02/11/14 F.Akeroyd & M.Clift Added ability to construct galil code from
template
02/11/14 F.Akeroyd & M.Clift enhanced GalilStartController handling of
user code
02/11/14 M.Clift Changed homing mechanism to use unsolicted messaging
02/11/14 M.Clift Several bug fixes in autooff, GalilCSAxis, polling
Re-wrote read_codefile to improve reliability
Another solution for AutoOn/AutoOff
Fine tuning of autoOn/autoOff code.  Seems reliable and lean now
Added some comments to AutoOn and poller
Fix comment indenting