Fix includes for namespaced SObjects

`SObject#includes` wasn't working for namespaced SObjects because it was relying on the class' name to build the SOQL relationship query.