Detection of nodes and edges

Nodes and edges are detected and a stored in a PolyData file. This
version still have nodes of degree two that came from 1-voxel edges.
Observa that the structure of the PolyData file has changed and it may
require re-implementations of some routines, such as degree-2 nodes
deletion and edges interpolation.