Fixed a memleak which may have occured due to the implementation of copyStream() method.
The output stream might not have been closed when an IOException have occured inside the try-catch block.
I added a finally block where the streams are always closed properly.
In Java 8, this would be much easier to implement with the new try-catch syntax.
added some preconditions to the copyFilesRecusively() method and renamed the parameter for better readability
Just reformatted the comments slightly
renamed some packages and separated into more osgi bundles, e.g. org.foam.transform/src/java/org/foam/transform/utils/modeling
Moved the NuSMV-related code from a helper class NuSmvUtils to NusvmWrapper.
The original code accessed nusmv using static methods.
Now, the NusmvWrapper is an OSGi service that is managed through OSGi declarative services.
moved GraphvizWrapper and NusmvWrappe from org.foam.cli to org.foam.transform
Merge branch 'master' of https://github.com/d3sreq/foam-tool