SharePoint 2010 capability added. Type mapping tweaked for listdata.svc. Bug-fix for entities using navigation properties.