Add finite element types LINE2 and HEX8

This PR has the following changes
- add `dimension`, `n_all_nodes`, `n_base_nodes` are added to mesh element classes (previously they existed only in quad)
- adds shape functions and finite element types for LINE2 and HEX8
- add test cases for new fe types