Add svg-nodes-limit option to avoid overly complicated svg background.

Some pdf pages may generate overly complicated svg background, which make browsers have difficulty to render them, especially on mobile devices. So I add this option to restrict node count in svg. If the limit is exceeded, generate a bitmap background instead.

There are already `#ifdef`'s there, what's wrong?