split broker in a ctrl
added some tests
Merge pull request #67 from mozilla-services/broker-split

split broker in a ctrl