analyze API
cleanups. respect query timerange
committing current state, including all the things
forgot to push over days. megamerge lol

Merge branch '020' of github.com:Graylog2/graylog2-server into 020

Conflicts:
	graylog2-server/src/main/java/org/graylog2/indexer/counts/Counts.java
	graylog2-server/src/main/java/org/graylog2/rest/resources/count/CountResource.java
	graylog2-server/src/main/java/org/graylog2/rest/resources/messages/MessageResource.java
	graylog2-server/src/main/java/org/graylog2/rest/resources/search/SearchResource.java
	graylog2-server/src/main/java/org/graylog2/rest/resources/system/SystemResource.java
	graylog2-server/src/test/java/org/graylog2/streams/FakeStream.java
	graylog2-server/src/test/java/org/graylog2/streams/StreamCacheTest.java
	graylog2-server/src/test/java/org/graylog2/streams/StreamRuleMatcherFactoryTest.java
	graylog2-server/src/test/java/org/graylog2/streams/StreamRuleTest.java
	graylog2-server/src/test/java/org/graylog2/streams/StreamTest.java
	pom.xml