Fix error in using ast_channel_snapshot_type before initialization

Starting Asterisk would kick back an ERROR message stating that the Stasis
message type ast_channel_snapshot_type was used prior to initialization.
This occurred due to the caching topic being created prior to the message
type that it depended on.

This patch re-orders the start up such that the message type is initialized
prior to the caching topic. It also checks the return value of the
initialization of the agent login/logoff types.


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@397585 f38db490-d61c-443f-a65b-d21fe96a405b
Add test events necessary for bridge tests to pass in the test suite.

(closes issue AST-1200)
reported by John Bigelow



git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@397593 f38db490-d61c-443f-a65b-d21fe96a405b