WF Api support multiple connections

Changed the WF API wrapper to return a sensor connection
descriptor (int) in the same way open/close system calls
return a file descriptor.

This means we will be able to setup multiple connections
at once .. but not neccessarily in separate threads.
Merge branch 'master' of github.com:GoldenCheetah/GoldenCheetah