[#45] support array of primitive in DAType

add flag "array" to DAType to represent an array
remove ARRAY from DATypeKind since it is of no use now
modify DAType to expose a separate Builder factory method for types and arrays