fix Resource => Resources infix
add has_api_type mixin
Merge pull request #230 from yjbanov/sync-v0.2

Sync v0.2