Add a stub for copyToClipboard on Windows
confDir is now an interface

* Unix implementation based on the HOME env variable
* Windows implementation based on LocalAppData folder (freaking annoying
to call the Windows API but whatever)
Use the defaultConfDir
Check for the configuration directory availability
Fix createSubTree and GetSubTree for Windows
Travis build with 1.4 and on 386 and amd64