Added lot/serial characteristics and Site, Location, and Lot/Serial to the MetaSql statement.

This change to the meta sql statement allows for the standard display char_id_*_list style characteristics to be queried.
Also adds Site, Location, and Lot/Serial filtering to the query.