Fixed bug in util.contains function
Added util function for generating random strings
Generate random salts for image upload names to make sure images with the same file name don't overwrite one another