Final changes for release v1.8

Changes include,
Lots of changes to improve memory leak issues
Also resolved segfaults
Passed include defs to the server main class compilation process
Rectified the failing Job scheduler
Resolved the threadpool high cpu utilisation issue
Introduced a new CondtionMutex class
Closed all open files in the application code
Added few logger statements
string find should be assigned to size_t and not unsigned (this was
giving
problems on 64bit unix system when you try to check condition like
var==string::npos)
Changed newline character to Unix styled new line
Resolved memory leak issues
Mutiple changes for SSL, Threadpools and performance/memory improvment
Resolved the condition wait/notify issue in ThreadPool class