Refs #6136 - Adds test for elgg_http_url_is_identical
resolved the todo of using elgg_normalize_url in the
http_url_is_identical and also fixing the bug where url2 did not get
site_url prepended
Adds a simple way to count queries over a piece of code
fixes #3143 login part
Added Scrutinizer code quality badge
Fixes #6259: URLs no longer get unnecessary offset=0
Fixes #6024: Adds support for ":before" and ":after" events
After events cannot be cancelled, all handlers always run.

Conflicts:
	engine/lib/elgglib.php
Improved inline docs
Clearer logic
RST docs for before/after events
More reliable event deprecation (notice only if handlers registered)
Switch login to before/after events
Switch logout event to before/after
Added URL fragment (#anchors) support to elgg_http_build_url
Added tests for elgg_http_add_url_query_elements
Code style fixes for recent PR
Added whitespace between Travis and Scrutinizer badges
Scrutinizer code coverage integration
Makes sure all group pages respect the limited_groups setting
Corrects testUnstoppableEventsCantBeStoppedAndReturnTrue test