ATS: performance updates

Includes some renaming and whitespace changes. 

Notable changes:
**TableEntityFactory** - uses thread-safe caching and no longer uses the slow .Invoke() method for instance construction.
**TableFilter** - refactored so it no longer uses reflection

Also, adds more detailed tests