Project config update

Moved to CocoaPods
Exchanged CoreWebSocket to PocketSocket
A billion little tweaks to get the .a to build cleanly in sub projects.
Will clean out unused stuff next.