Updated composer files
Added automatically database reconnect if the connection was lost
Fixed bug: Temp download file will be checked insteaf of target file
Changes phploc database insert