Addition of travis build file.

Adding TSRMLS_FETCH() to all places where it's required.