Use count function when checking for existence of user setting

Use COUNT function to check if a user setting exists
Reset to current version
Fax Dispatch changes
1. Use doc class to store faxes
2. Use plugin to send messages