when generating url, model class name should be underscored

In the url method, calling @uploader.model.class.name.downcase on namespaced model will generate something like "namespace::model", which is not a valid url format. Solved this by calling underscore instead.