empty lists to table_factory are no longer allowed

* not addressing for dense as it is being dropped
* raises TableException if [] is passed in as data
addressing Jai's comments
Merge pull request #243 from wasade/tablefactory_indexerror

empty lists to table_factory are no longer allowed