Test if mesh element on boundary

As the title says this adds a method to return true if the element is located on the boundary of the mesh and false otherwise.