made qobj.type a dynamic property (since it always can be computed from the dims attribute). attempt to fix bugs reported by @cgranade in #96
do not need to set Qobj.type anymore