added a generic pthread macro for error checking

added a generic pthread macro for error checking
TDD unit tests passing for thread and lock

also added macros for V_PTHREAD_CALL
remove build from github

no need to backup build files
delete more build files