fixed mkdir
fix chmod in mkdir
Added netbeans files in gitignore
Added php version test for json pretty print