Added recursive directory creation

Made it possible for the FileWriter to create recursive directories, +
unit test for this.
Update WriterTest.php
Merge pull request #5 from AxaliaN/recrusive-directories

AxaliaN: Added recursive directory creation