api: allow usage of resource_metadata in query

When returning samples, they have a field called resource_metadata, and
therefore it may seem nature to filter on it using this as a prefix in
queries. Let's allow use of it.

Fixes-Bug: #1195765

Change-Id: I82f591e0d38a3063a9762de1ac64dc3ef9d29ee7
Support for wildcard in pipeline

This patch will support for wildcard in pipeline.yaml so we
can exclude things like !storage.objects.*

This patch is dedicated to Fei Long Wang who triggered my thought on the
subject and proposed a first implementation.

docImpact
Fixes bug 1209128

Change-Id: I09a805ea7c9313b45152672a63981d5d4c263601
missing resource in middleware notification

sql backend throws errors because resource is a required value
set the resource to HTTP_X_SERVICE_NAME value.

Change-Id: If2407881b8e3f3ce313ade5295258f0f72f6ea71
Partial-Bug: #1214257
Merge "api: allow usage of resource_metadata in query"
Use system locale when Accept-Language header is not provided

Remove en_US as the default language when no header is provided, and use
None instead. Upon translation None will be defaulted to system as it
was before the translation changes.

Fixes bug 1214476

Change-Id: Ia18ae76f9dc3c93c7d14203af6f65b916500927e
Merge "Support for wildcard in pipeline"
Merge "Use system locale when Accept-Language header is not provided"
api: update v1 for Flask >= 0.10

Change-Id: I7e0e9a902ec57b6e5eb951d50a49629dd7cfdb7c
Fixes-Bug: #1212851
API FunctionalTest class lacks doc strings

add docstrings to api call functions.
Partial-Bug: #1193666

Change-Id: I34a586fba343c88ef8807908eb1667392c016225
Merge "missing resource in middleware notification"
Merge "api: update v1 for Flask >= 0.10"
Merge "API FunctionalTest class lacks doc strings"
added test for bug and gave Mongo a timestamp sort to guarantee order
sql alchemy fix, test refactoring, and first two tests
updated test to avoid effect on other tests

Change-Id: I61a1590b91375169e3718fa5819753cd19fca8d9
testing changes to support just sqlalchemy and mongo fix

Change-Id: I34f5f9f61ef02e523069d2d013fe4e566a74462f