Mostly working simplified behaviour for pubsub
Fixed test expectation error
Fixed type error
Fixed function clause bug
Fixed shutdown race condition, and cleaned up sms sender.
Fixed some suggestions in uffda_subscription and an incorrect prep_stop sequence
Reverted dialyzer error
Merge pull request #63 from th0114nd/publish_behavior

Mostly working simplified behaviour for pubsub