#2781
Improvements in queryEcommerceItems function which make it works with segments query builder
improved social media networks
Merge branch 'master' into 2781-segmentation-on-Goals.getItems

Conflicts:
	core/DataAccess/LogAggregator.php
	plugins/Goals/API.php
	plugins/Goals/Archiver.php
Fix for ecommerce segmentation.
Tests for segments in Goals getItems methods.
Merge branch 'master' into 2781-segmentation-on-Goals.getItems
Change handling of tables using for join in segment.
Remove subselect join in log_conversion_item join with log_link_visit_action.
Fix for #4348, <br/> showing on geolocation admin. I believe this is the appropriate fix. Start small and see how we go.
Fixes #4199, revising event docs and closing ticket.
Refs #4200, documented undocumented visualization classes.
Refs #4200 revised some of class/method docs.
Refs #4200 tweaks to last commit.
Merge pull request #162 from nterbogt/master

Fix for #4348, <br/> showing on geolocation admin.
Merge pull request #121 from piwikpro-team/2781-segmentation-on-Goals.getItems

Fixes #2781 Add support for segmentation on Goals.getItems* API. Kuddos for the nice pull request and tests!
Refs #2781 PR #121 Modifying tests fixtures to generate visits from two countries so that it's clear that the Segmenting on the country selects only that country.
Checking in expected tests files
Refs #2781 PR #121 Fixing regression the "distinct idvisit" was removed in the PR
Tests will load plugins which are bundled with core.
Before it was loading everything from plugins/* directory, causing tests to fail when tests plugins are there.
Minor test refactor