First iteration of streams functionality.

Creating streams and stream rules using REST works now.
Created StreamResource controller.
Changed tests to reflect new StreamRuleImpl model.
Changed "rule_type" property to "type" everywhere to have a consistent
naming.
Merge branch '020' of github.com:Graylog2/graylog2-server into 020