Add gitignore
Ignore log and status file
Ignore auto generated files
Fix things to work with samba 3.6.x

samba VFS internals actually varies between minor version
and some differences is really annoying. But oh well...