Convert Array types to any[] type due to bug in current TS compiler; begin adding tracking for future generation of TS enums for all xtypes, ptypes, events, etc.
Update readme and example to reflect the need to use interfaces to cast config objects, rather than concrete TS classes.