Simplifying StreamResource.
Making API model classes swagger-friendlier.
Merge branch 'master' of github.com:Graylog2/graylog2-server