Add exporting code to libanki
Merge pull request #494 from timrae/apkgBackups

Complete APKG exporting