Add checking for pending note uploads.

Adds a mechanism for determining when a note's upload to the server is
pending.
Merge pull request #115 from mafiglio/bug_114

Add checking for pending note uploads.