Rename "repo_type" attribute of the repositories scope to "type"

When the scope was initially implemented we were running on Ruby 1.8 and
"type" conflicted with Object#type so we had to name the attribute
differently. Since we're only supporting Ruby 2+ now "type" can be used
instead.