Add dimension info as type parameters

This commit adds parameters to types which carry an implicit
dimensionality: the order of the derivatives in operators.jl, dimension
of coordinate system implied by nodes.jl, and polynomial order of
basis.jl