[#191] Re-enabled Piwik tracking in footer.
[#218] First cut of JSON plugin driven updates on /seeithappen

Add json_data_render_update() to functions.php. This function renders
one instance of a project update box.

Add Akvo-responsive/json_data_templates. This folder is used to store
the code snippets uesed in the JSON plugin template form fields.
A snippet should include all information needed to instantiate it using
the JSON plugin.

Add Akvo-responsive/json_data_templates/rsr-updates.php. This is the
code snippet that is to be used in the JSON plugin. The API resource is
still missing a couple of features, so there's some bogus data in the
call to json_data_render_update()
Merge branch 'feature/218_updates_json_plugin' of https://github.com/akvo/akvo-web into develop
[#220] Use JSON feed plugin for Akvo KPIs on seeithappen page

Edit the networkPage.php to use the JSON plugin to fetch and render the
KPI/dashboard data.

Add templates for the code snippets needed for the JSON feeds.
The snippets include info on the feed it is related to to facilitate
setup by someone other than me ;-)
[#220] Cleanup. Remove javascript and old html
[#218] Use JSON feed on /seeithappen/all-rsr-project-updates page

Add json_data_templates/rsr-many-updates.template.php to be used as the
template for the JSON feed.

Replace the javascript implementation of the updates rendering with the
feed template.

Remove the unused javascript.

The page now displays up to 60 updates in one go. There is no point in
fetching them incrementally. Since we currently filter out updates
without an image not all of the 60 fetched may be displayed.
When the RSR API resource is fixed it will be possible to request only
updates with images, guaranteeing a cerain number of updates.
Merge pull request #222 from akvo/feature/220_kpi_json_plugin

Reviewed: feature/220 kpi json plugin
Merge pull request #221 from akvo/feature/218_updates_json_plugin

Reviewed: [#218] Use JSON feed on /seeithappen/all-rsr-project-updates page
[#223] Render all RSR projects on a google map

Use the JSON plugin to fetch the primary location data for all projects
in RSR. Use this to render a global map similar to the one in RSR:
http://rsr.akvo.org/maps/projects/all/.

The changes in networkPage.php is a modified version of the code used in
RSR to render the map. Note that there are two calls to do_shorcode().
This is because the RSR API will not hand over more than 1000 objects
in one go and there are currently over 1700 project in RSR.

Add Akvo-responsive/json_data_templates/rsr-project-global-map.template.php
that massages the JSON into a format easily used in the networkPage.php.
The main reason for doing this in PHP rather than in the client
javascript is that I found it really hard to handle the case of missing
objects in javascript.
[#218] Remove old "Fetch more updates" button

Since we're now fetching 60 updates there is no need to get more (And
that functionality is hard to acheive with the JSON plugin...)
[#154] Added updated config for W3 Total Cache 0.9.4.
[#140] Fixed See it happen page
Merge branch 'develop' of https://github.com/akvo/akvo-web into fix/191_footer
[#228] Upgraded Piwik plug-in to v0.9.9.10.
[#195] Added git-ignore statement for deployed sitemap.xml file.
This file is generated so we can ignore the deployed version in each environment.
[#230] Fix javascript concatenantion of API call arrays

The all projects map is not showing all pins, in fact it's only showing
the first 1000. This is because of a bug in how the two data arrays are
concatenated. Now fixed.
[#223] Fix empty array creation

In PHP v5.4 arrays can be created using $arr = []. Not so in v5.3 where
it must be $arr = array(). The Ububntu machines run PHP 5.3. Not so my
mac.
Merge branch 'develop' of https://github.com/akvo/akvo-web into feature/228_site_upgrades
[#228] Upgraded WP to v3.9.1.
Merge branch 'develop' of https://github.com/akvo/akvo-web into feature/154_caching