Preserve objects in arrays when flattening search response
Disable discover buttons
If a row contains arrays of objects, we don't want to enable the discover search buttons.
[tableVis] allow displaying partial rows, fixes #1911
Fix index pattern search error
Closes issue #1899.

When using the index name search, if you type quickly, then the search is not invoked after you have finished typing. This is because we had specified options to lodash debounce (https://lodash.com/docs#debounce) to execute the search function on the leading edge of the specified timeout, instead of the trailing edge (which it does by default). This change removes the overrides and fixes the issue.
remove console logging
[vis] use the isHierarchical method, not the property of the visType
[tableVis] allow configuring the way metrics are calculated for the metric vis
[aggResponse/tabify] allow overriding partialRows for hierarchical vis types
[aggResponse/tabify] tests to support 227d6fa
[tableVis] tests!
[visaulize] [dash] handle titles like discover
[kibana] expose the current app on $rootScope
[docTitle] new docTitle service
[dashboard] use the new docTitle service
[aggConfig] allow mutliple metrics to be written in the DSL
[aggConfig] added test to prove 1ae3713
[tabify] write metrics for partial & hierarchical rows
[tableVis] modify the params to allow partial rows with metrics
[tabify] add tests to prove 261e804
[tabify] only place metrics on partial rows if we are not showing all metrics