Update cubism.js to machiavelli version

See [glasnt/cubism:machiavelli_context]
Remove stacked.js debugging, add waitover toggle
Change controller to use epoch times for metric

Metrics endpoint is now epoch only
Include default values for metrics endpoint if none are supplied
Use machiavelli context for live cubism
Add waiting spinner for stacked graphs
Move epoch helps from backend lib to application helper
make helper for generated colour

Used in javascript for now, temporary
Metric controller needs to only ask for epoch times

Make simple backend suit