Add specs for most functions
Merge branch 'master' into dialyzer-specs

Conflicts:
	test/pusher_event_test.exs