add validation for gsi in create_table

just a rough start. Not completed yet. Not sure if it will
work at this point

Change-Id: I0f8df69d28930cba185a63c2be15d402dda84961