Fix gitignore, add feature to ignore thirdparty plugins

If you agree for 467722c, 0ee9871 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!

A better way would be a thirdparty folder if you accept #22.