Added table_exists method

Added table_exists method
Merge pull request #169 from cnaize/master

Added table_exists method