Fix for bug #950287

1. When sending local changes to Evernote, skip an item in the pending
queue if it is not found in the local db. This happens when a new note
is opened and then canceled.

2. When sendChanges is called (to send local changes to Evernote), if
pending queues are empty, don't start the processing.

3. Variable 'totalQueueChunks', used to compute progress, can be zero.
Added defensive code to avoid divide by zero error.
Fix for bug #950472

1. Change to use the correct data field - was "text", changed to "content"
2. Strip all markup tags before applying regex matching
3. Rewrite search form submit handler to register with event "submit" and
surpress event propagation
4. Add calls to hide search title and clear search box when a notebook is
opened after a search
Fix for bug #950475

Selection on notebook list was handled by "touchend" event.
The subsequent "click" event was instead sent to the notebook
view which causes a note to be opened.

Change notebook selection to be triggered on "click" instead.
Fix for bug #950477

Load note contents into DOM and compare before and after
using isEqualNode().
Fix for bug 950473

Removed code that automatically set focus when a note is opened.
Fix for bug #950968

Add CSS styling to note view images to auto resize to 100% width.
Merge pull request #1 from yor-mozilla-com/fix950287

Fix for bug #950287
Merge pull request #3 from yor-mozilla-com/fix950472

Fix for bug #950472
Merge pull request #4 from yor-mozilla-com/fix950475

Fix for bug #950475
Merge pull request #6 from yor-mozilla-com/fix950473

Fix for bug 950473
Merge pull request #5 from yor-mozilla-com/fix950477

Fix for bug #950477
Merge pull request #7 from yor-mozilla-com/fix950968

Fix for bug #950968