Reviewer Rob - Sort print functions into compilable order

Noticed when I accidentally tried to compile with gcc version 4.8.  The functions in rapidXML for printing nodes aren't in a resolvable order, which is fine on 4.6 but can't be compiled on 4.7+.

Tested by rebuilding sprout under gcc 4.6 and 4.8.