API get BASE_PATH by $_SERVER['DOCUMENT_ROOT']

Usefull for symlinked framework folders
API: allow using *Table*.*Field* values for SQL queries max,min,avg, sum