Got .spr image preview working

+ changed the way frames and frame groups are stored to be closer to
the way frames in MDL are stored.
+ made some simple modifications to allow frames of an .spr to be
displayed via ImageUtil.generateHTMLPreview