Refactored stream writer to be more convenient
Extended meta entry writing to store keepass UIstate and keepassx tree state
Changed groupId generation to be Keepass compatible