Completed functionality of SELECT * FROM queries

Correctly formatted SELECT * FROM [table] type queries can now be performed on all tables in a database. The implementation does no error checking at this point (and probably leaks a ton of memory, particularly because of get_field_value()), the basic implementation is done, even if buggily so.