Fix extra blank page bug in non-familied mode by shifting cdCgmNewPic from eop to bop (starting with second page).
Fix extra blank page bug in non-familied mode by shifting cdCgmNewPic from
eop to bop (starting with second page).

Fix segfault (and several other noticed instabilities) by using
free_mem(pls->dev) in tidy rather than previous method of freeing memory.
(Something was wrong with that previous method of freeing dev since
commenting it out solved all instability issues, but instead of figuring out
what was wrong, I just moved to the standard way to free dev memory.)

These two fixes insure that my extensive tests of this driver now go through
smoothly either in familied mode or non-familied mode.  Also, the dynamic
and static cgm driver results agree.  Therefore, I judge this driver to
be reasonably stable, and I am going to turn it on by default (so long
as libcd.a and cd.h can be found on the user's system).

svn path=/trunk/; revision=3364

FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot