Renamed DetailView attribute "type" to "format"

for consistency with GridViews DataColumn, where the same property is
also named format.