WIP Reintroduce functions in data components

There are questions in this commit that need anwsers for me to continue.
The test file for data.js is juste empty and need to be filled in a
rebase.
Add state namespace without display dependancies
Fix bug in data.dimension
Add a cube object type

This is WIP since we are passing strings with the "cube" identifier
almost everywhere and we need consistency in our code.
Add a clean way to set data used by crossfilter in analytics.data
analytics.data can retrieve data from Query for client side aggregates
Add filters, type, levels, properties to dimension
Add more parameters when initializing dimensions
Add cf data in dimension
Add cube to data.js
Use of data.cube & data.measure in state
Update imports
add display.js
WIP on charts