changes string switch to ifelse to make compatible with Java 6.
updates epub3 gem to 1.0.0.alpha3