Fix gitignore, add feature to ignore thirdparty plugins

If you agree for 467722c and 406cc8b inform me before you merge this, I'll then add

    Make sure third-party plugins end in .thirdparty.php so they get ignored by git!