1. Added Cursor based STAX parser but uses Event Based only
2. Fix inserting issues for collection of primitives
3. Also removed some unused code