travis-ci script update

Thanks to the recent fix for the swig/boost compatibility issue, this commit removes the differences between the py27 and py34 build workflows. It upgrades the py27 build to boost 1_55 + adds java wrappers to the py34 one.