(+) Implement schema inference for projection

Known issues: the schema inference is still buggy and incomplete.
(/=) Unify AttributedTableSchema and TableSchema