chore(tests): split the functional tests
fix(client): Convert all inline error strings to use an error object.

* Add inline strings to list of errors.
* All errors will be normalized in the event log no matter what locale the user  uses.

fixes #1164
Merge pull request #1236 from mozilla/issue-1164-inline-error-strings

fix(client): Convert all inline error strings to use an error object.
Merge pull request #1244 from vladikoff/split-func-test

chore(tests): split the functional tests
add Content-Security-Policy headers when in dev mode

When this is active, the server accepts violation reports via POSTs to
/_/csp-violations, and the CSP header points to that URL, so devs can
see problems immediately.

The patch also includes a small standalone reporting server which can be
used as the target of externally-added CSP headers (e.g. when nginx is
configured to add them). Staging/production deployments will use this,
instead of the built-in endpoint.
chore(tests): Make Travis sleep for a bit
CSP violation server: add index endpoint

This makes it easier to run this behind an ELB.
Merge pull request #1248 from warner/CSP2

feat(CSP): add Content-Security-Policy headers when in dev mode

Fixes #1166.
Release v0.15.0
Merge pull request #1247 from vladikoff/sleep-auth

chore(tests): Make Travis sleep for a bit
feature: Prepare metrics for heka.

* Send metrics to stderr after flattening/formatting.

issue #1190
Clean up metrics based on @kparlante's suggestions.

* Add additional fields to logged metrics: lang,  hostname, pid, v, agent.
* Rename `time` to `date`
* Update tests.