fixed some bugs
Merge branch 'v2' of https://github.com/stacksync/swift-API into v2
Updated to version 2.0.11