refs #470: figure with caption and/or title was not converting into valid cnxml.  title must the first child of figure and caption must be the last.
remove redundant xsl:if
refs #470: make phil happy.
Merge pull request #8 from Connexions/ticket470

refs #470: figure with caption and/or title was not converting into ...