Modified merge function and documentation

+ Removed the side effects that were possible when modifying old libraries
(with deepcopy())
+ Added a docstring documentation stating exactly what the function should do
+ Added an option to choose the policy when facing some classes defined in
both the libraries that are merged. The default is aborting with an exception.