Shorten field names according to shortDots setting
Merge branch 'master' into shortened-fields
Fix bad reference to shortDotsFilter inside table header
Fix for pie charts with no data
move to the _flattened key
reference flattened
Update fixtures
Merge pull request #2033 from lukasolson/shortened-fields

Shorten field names according to shortDots setting
Add flattenSearchResponse to stub index pattern
Merge with w33bles displayName changes
Adding tests and fixing a bug with cloning

- Closes #2040
- Add basic testing
Merge pull request #2038 from rashidkpc/fix/pristine-source

Dont modify _source
Merge pull request #2037 from lukasolson/issue-1958

Fix for pie charts with no data
Merge pull request #2041 from simianhacker/vis-quick-fix

Adding tests and fixing a bug with cloning