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.
i am not sure but `const` might be needed for `e` because it is in const function. you didn't get any compiler warning?