Merge pull request #14 from wikipathways/dev

Dev
still not getting gpml with IE8
json is now outputting pathway.biopax.bpPublicationXrefs (plural/array), not pathway.biopax.bpPublicationXref singular
general code cleanup and documentation, plus make it possible to get formatted JSON in IE8
added modernizr and started with svg conditional fallback for old browsers
switch from svg to png fallback working in IE8
overlays are roughly working for dynamic png on at least chrome
now svg shows up with svg-supporting browsers and dynamic png shows up for others
now svg shows up with svg-supporting browsers and dynamic png shows up for others
callbacks added for getting dynamic
PNG
vertical scaling corrected by using single scaling factor for height and for width, based on ratio of png and svg widths
identified stackoverflow as coming from event listener shim added for IE8. removed it, and openseadragon works ok.
render-png now displays SVG for browsers supporting SVG and dynamic PNG for the rest. Zoom and pan work for both. Stackoverflow is corrected for IE8
added biojs details frame, and it's working in at least chrome
details frame now displaying some data in chrome at least
details frame now displaying some data in chrome at least and zoom/pan working also
getting node-based values into details frame onclick in svg and png
getting node-based values into details frame onclick in svg and png
everything is now working in IE8 and modern browsers. still getting an error in IE8 about callbacks not being defined
now can get xref data and display it for pngs on chrome