Fix animations export while in rest position

Currently exported animations are frozen in rest position when exporting while the armature is in rest position.
Proposed fix:
- put the armature in pose position before calling DecomposeArmature()
- call RestorePosePosition after DecomposeActions().