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



<!---
@huboard:{"milestone_order":713.0}
-->