fixes #404
 - implement a small example that allows to traverse the dof table and get the
 neighbor degrees of freedom
 - modify doftable and dof to support properly this interface/example to the doftable