Resolves "Failed to determine field name for 'id'" errors when doing API gets for Need or Project entities using id fields. The undefined_fields key is still improperly set and needs to be addressed, but the API is now usable at least.
Merge pull request #72 from fjg-conflux/api_fixes

Resolves "Failed to determine field name for 'id'" errors when doing API gets for Need or Project entities using id fields.