WIP Reintroduce functions in data components

There are questions that need anwsers for me to continue.
The test file for data.js is just 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
fix chart
Add filters, type, levels, properties to dimension
Add more parameters when initializing dimensions
Add cf data in dimension
Add cube
Fix data.measure
Fix dimension
Add cube to data.js
Use of data.cube & data.measure in state
Update jshint in package.json
Update imports
add display.js
WIP on charts