Added Netbeans project files
Fixed syntax errors found by netbeans, looks like PHP is too lossy