Thread id is now set on thread execution

Currently a leak is produced since the fa_parameters_t struct becomes
inaccesible after fa_thread_create is called. The parameters for the
thread needs to be contained within the thread struct to assure the
freeing of resources.