add getTaskAttemptID method to ContextUtil
add mixed mode tests to travis-ci