fixed time parsing when the composer.lock file has an old time format
Merge pull request #1598 from fabpot/package-time-fix

fixed time parsing when the composer.lock file has an old time format
Always move time to the end of the package spec in the lock file, fixes #1498
Suppress errors from mkdir calls that are checked for failure
Fix class name
Test fixes