refs #9475 Fixing build problems

Looks like the buildservers didn't like me plugging boost::assign::list_of straight into a function. I've moved all calls to it to a separate line assigning to a new variable in each instance
Merge branch 'feature/9475_stich1d_cplusplus' into develop