WebAgg: extracted figure_div style into css and changed layout

Set #figure-div display style to inline-block to use free space on the page
more effectively. See http://www.vanseodesign.com/blog/demo/inline-block/.
Additionally, set margin to 10px around every figure, so padding-bottom
becomes unnecessary.