code style.
make library compatible with php 5.3
update tika dependency version.