Fix SQL injection for UMS and core
Fix compilation for core and protect TMS from SQL injection
For FMS SQL injection
fixed ticket #391: removed unrequired dependencies on tmssed.
 * the segfault was originated from ums-client (notably from the method vishnuFinalize), which tms-client is linked against
added misc refactoring
fixed and improved version checking for SLURM in TMS/src/CMakeLists.txt
fixed ticket #454: added condition on localaccount and user status
update init scripts