solving assertion failure when parsing fetch request

Hi rentzsch, im referencing:https://github.com/rentzsch/mogenerator/issues/81

 I ran into this problem with one of my fetch requests, and I propose the fix above. What was happening is that the _resolveKeyPathType: fails when the key path contains an attribute. I hope this is helpful. Let me know if I can clarify anything.