add devicePixelRatio support but only to renderer side

as suggested by https://github.com/cytoscape/cytoscape.js/pull/285
add json support for styles
add cose stub

@gerardohuck here's the stub for you
Initial Version (just a stub) of CoSE Layout.