Add an expanding append macro
Add support for order dependant libraries
Add stub for DG quad elasticity example