security: Fix bug in selfSign: Get the cert version from getNowMilliseconds() since getNotBefore() is in seconds.
security: Fix bug in IdentityStorage::getNewKeyName: Need to get the timestamp as an integer, not float.