add tabling to yap

The addition of a configure flag enabling tabling support for Yap.