Bad table name on master_create_distributed_table()

This fix handles when master_create_distributed_table is called with
a an index as the first argument. More generally, it is called with
a relation that is not ordinary table or foreign table.

closes #13 
I'm curious, doesn't this check catch the problem with supplying an index instead of a table?