Add a few functions to SBType to handle arrays and typedefs. Fixes rdar://12675166