rename and placeholder in prep for record store changes
rename QueryExpression -> QueryRestriction
add nullable stuff
remove dependence on RecordStore...going directly against orient instead