Various fixes and improvements from Weebly usage
- Fix nasty index bug on exchange definition retrieval
- Fix some docblocks
- Functionalize connection/channel creation
- Add support for unexpected connection loss
Merge pull request #1 from dustindoiron/master

Various fixes and improvements from Weebly usage