if logged in, skip login modal
Adding support for configurable web analytics.

This adds the javascript boilerplate for google and piwik web
analytics to the primary layout file. Configuration parameters
for the analytics are stored in a newly added configuration file.

Fixes #113.
Merge pull request #385 from ultrasaurus/devel-home-loggedin

if logged in, skip login modal
Correcting a few translation phrases missed when we switched to camel case.
Merge pull request #386 from DavidEBest/devel-webanalytics

Adding support for configurable web analytics.
Fixing the infinite 'Loading' Admin Users view bug.

The Admin Users panel was broken when we switched to more than just
public/closed states. This commit treats everything not open as
closed, which fixes the bug. We may want (as a seperate issue)
to differentiate between the close states.

Fixes #388
Merge pull request #389 from DavidEBest/devel-adminfix

Fixing the infinite 'Loading' Admin Users view bug.
Switching the order of the user list to show newest first.

Instead of ordering by id asc, it is ordered by createdAt desc.

Fixes #392
Merge pull request #387 from DavidEBest/devel-moretranslations

Correcting a few translation phrases missed when we switched to camel case.
URI Encoding the mailto links for 'sharing'

Adding a call to encodeURI to encode the urls used to generate
the mailto links, and the mailto links themselves. If this is
not done, then the urls can be corrupted if they contain any
reserved characters. This was seen in 18F/midas-open-opportunities#37,
which contained the identifier '20%'.
Made the admin dashboard tab first and default.

The dashboard panel should be the first in the list of tabs, and
as it provides the overview, it should be the default selected.

Fixes #396
Made the email address label on the login form customizable.

Open Opportunities wishes to specify the label as 'Official Government
Email Address', so I added an i18n hook for the field.

Necessary for 18F/midas-open-opportunities#26
Merge pull request #398 from DavidEBest/devel-uriencode

URI Encoding the mailto links for 'sharing'
increment to version 0.0.22
Adding a welcome email for new users.

Added the infrastructure necessary to support sending a email to
users when they sign up, either locally or by using an OAuth
provider. Also added a basic welcome message for new users.

Fixes #374
Made the 'Volunteer' button always visible.

Previously, the volunteer button was only visible when a user was
signed in. Now, it is always visible; if the user is not signed in,
they are presented with the login dialog.

Fixes #259
Added metrics for assigned/completed/archived tasks.

Previously, the user page only included open/closed metrics.
Now the results have been differentiated to show the different
types. Additionally, empty cells now show empty instead of 0/0.

Fixes #390
Merge pull request #400 from DavidEBest/devel-i18nemail

Made the email address label on the login form customizable.
Merge pull request #399 from DavidEBest/devel-admindashboarddefault

Made the admin dashboard tab first and default.
Addressing concerns with prior commit.

* Adding a link to the system to the text notification.
* Removed unnecessary lookup for email address from preflight.
* Moved dup welcome email code into a helper method.