Use std::lock_guard instead of STG_LOCKER.
Fight CLang warnings.
Move projects back into subfolder.
Port to CMake, get rid of os_int.h.
Merge branch 'stg-2.409'
Ticket 37. The construction if-else removed and ReadString() changed to ReadTime() for the ChangedPolicyTimeout in the RestoreTariff().
Ticket 37. The readTime() changed to str2x(), default value in the ReadString() changed to "0" for the changePolicyTimeout field in the RestoreTariff() function.
Ticket 37. WriteString() changed to WriteTime() and formatTime() remowed for the ChangePolicyTimeout field in the SaveTariff() function in file_store.cpp.
Ticket 37. WriteTime() changed to WriteString() and formatTime() added for the ChangePolicyTimeout field in the SaveTariff() function in file_store.cpp.
Merge branch 'stg-2.409'
Ticket 37. In the if() construction for the changePolicyTimeout ReadTime() changed to ReadString(), else construction added, error message remowed in RestoreTariff().
Ticket 37. The WriteTime() function call for the 'changePolicyTimeout' added in the SaveTariff() function.
Ticket 37. The ReadTime() call for 'ChangePolicyTimeout' field in the if() construction added in the RestoreTariff() function.
stg-2.409 pre-merge.
Ticket 37. The WriteString() function call added in the SaveTariff() function for the 'ChangePolicy' parameter.
Ticket 37. The if-else construction and conf.ReadString() function call added for the 'ChangePolicy' parameter.
Fixed parsing parameters with empty values.
Fixed compilation with new TRAFF_TYPE.
Some changes in crypto.lib. Added tests. Conflicts: projects/stargazer/plugins/configuration/sgconfig/rsconf.cpp stglibs/srvconf.lib/netunit.cpp
Simplified STG_LOCKER.