Added functionality to build odata queries

Still VERY limited.