Updated salt generation to use a crypto random source, modified from ircmaxells password_compat library.  Increased default salt length to be 22 characters and updated SQL for salt to be varchar(255) to support future changes.