fixed bug for epub export #755 ; also better metadata title
Merge pull request #771 from tcitworld/refactor

fixed bug for epub export #755 ; also better metadata title