Added option to blacklist applications, accounts and contacts

Closes #1781